/[svn]/ircd-hybrid/modules/core/m_kick.c
ViewVC logotype

Diff of /ircd-hybrid/modules/core/m_kick.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 34 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 885 by michael, Wed Oct 31 18:09:24 2007 UTC
# Line 96  m_kick(struct Client *client_p, struct C Line 96  m_kick(struct Client *client_p, struct C
96      to = source_p->name;      to = source_p->name;
97    }    }
98    
99    if (*parv[2] == '\0')    if (EmptyString(parv[2]))
100    {    {
101      sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),      sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
102                 from, to, "KICK");                 from, to, "KICK");
# Line 225  m_kick(struct Client *client_p, struct C Line 225  m_kick(struct Client *client_p, struct C
225                             source_p->name, source_p->username,                             source_p->name, source_p->username,
226                             source_p->host, name, who->name, comment);                             source_p->host, name, who->name, comment);
227    
228      sendto_server(client_p, NULL, chptr, CAP_TS6, NOCAPS, NOFLAGS,      sendto_server(client_p, chptr, CAP_TS6, NOCAPS,
229                    ":%s KICK %s %s :%s",                    ":%s KICK %s %s :%s",
230                    ID(source_p), chptr->chname, ID(who), comment);                    ID(source_p), chptr->chname, ID(who), comment);
231      sendto_server(client_p, NULL, chptr, NOCAPS, CAP_TS6, NOFLAGS,      sendto_server(client_p, chptr, NOCAPS, CAP_TS6,
232                    ":%s KICK %s %s :%s", source_p->name, chptr->chname,                    ":%s KICK %s %s :%s", source_p->name, chptr->chname,
233                    who->name, comment);                    who->name, comment);
234    

Legend:
Removed from v.34  
changed lines
  Added in v.885

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28