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

Comparing ircd-hybrid-7.2/modules/core/m_kick.c (file contents):
Revision 884 by lusky, Sun Oct 2 21:05:51 2005 UTC vs.
Revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC

# Line 96 | Line 96 | m_kick(struct Client *client_p, struct C
96      to = source_p->name;
97    }
98  
99 <  if (*parv[2] == '\0')
99 >  if (EmptyString(parv[2]))
100    {
101      sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
102                 from, to, "KICK");
# Line 225 | Line 225 | m_kick(struct Client *client_p, struct C
225                             source_p->name, source_p->username,
226                             source_p->host, name, who->name, comment);
227  
228 <    sendto_server(client_p, NULL, chptr, CAP_TS6, NOCAPS, NOFLAGS,
228 >    sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
229                    ":%s KICK %s %s :%s",
230                    ID(source_p), chptr->chname, ID(who), comment);
231 <    sendto_server(client_p, NULL, chptr, NOCAPS, CAP_TS6, NOFLAGS,
231 >    sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
232                    ":%s KICK %s %s :%s", source_p->name, chptr->chname,
233                    who->name, comment);
234  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines