ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/core/m_quit.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/core/m_quit.c (file contents):
Revision 3301 by michael, Sat Apr 5 19:15:11 2014 UTC vs.
Revision 3302 by michael, Sat Apr 12 21:16:23 2014 UTC

# Line 73 | Line 73 | m_quit(struct Client *source_p, int parc
73   static int
74   ms_quit(struct Client *source_p, int parc, char *parv[])
75   {
76 <  char reason[KICKLEN + 1] = { '\0' };
76 >  char reason[KICKLEN + 1] = "";
77  
78    if (!EmptyString(parv[1]))
79      strlcpy(reason, parv[1], sizeof(reason));
80  else
81    strlcpy(reason, source_p->name, sizeof(reason));
80  
81    exit_client(source_p, reason);
82    return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines