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

Comparing ircd-hybrid/trunk/modules/core/m_kill.c (file contents):
Revision 1794 by michael, Sun Mar 31 14:17:46 2013 UTC vs.
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC

# Line 87 | Line 87 | mo_kill(struct Client *client_p, struct
87  
88    if (*user == '\0')
89    {
90 <    sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
90 >    sendto_one(source_p, ERR_NEEDMOREPARAMS,
91                 me.name, source_p->name, "KILL");
92      return;
93    }
94  
95    if (!HasOFlag(source_p, OPER_FLAG_GLOBAL_KILL|OPER_FLAG_K))
96    {
97 <    sendto_one(source_p, form_str(ERR_NOPRIVILEGES),
97 >    sendto_one(source_p, ERR_NOPRIVILEGES,
98                 me.name, source_p->name);
99      return;
100    }
# Line 118 | Line 118 | mo_kill(struct Client *client_p, struct
118                                  (time_t)ConfigFileEntry.kill_chase_time_limit))
119                                  == NULL)
120      {
121 <      sendto_one(source_p, form_str(ERR_NOSUCHNICK),
121 >      sendto_one(source_p, ERR_NOSUCHNICK,
122                   me.name, source_p->name, user);
123        return;
124      }
# Line 129 | Line 129 | mo_kill(struct Client *client_p, struct
129  
130    if (IsServer(target_p) || IsMe(target_p))
131    {
132 <    sendto_one(source_p, form_str(ERR_CANTKILLSERVER),
132 >    sendto_one(source_p, ERR_CANTKILLSERVER,
133                 me.name, source_p->name);
134      return;
135    }
# Line 195 | Line 195 | ms_kill(struct Client *client_p, struct
195  
196    if (EmptyString(parv[1]))
197    {
198 <    sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
198 >    sendto_one(source_p, ERR_NEEDMOREPARAMS,
199                 me.name, source_p->name, "KILL");
200      return;
201    }
# Line 234 | Line 234 | ms_kill(struct Client *client_p, struct
234                                  (time_t)ConfigFileEntry.kill_chase_time_limit))
235         == NULL)
236      {
237 <      sendto_one(source_p, form_str(ERR_NOSUCHNICK),
237 >      sendto_one(source_p, ERR_NOSUCHNICK,
238                   me.name, source_p->name, user);
239        return;
240      }
# Line 245 | Line 245 | ms_kill(struct Client *client_p, struct
245  
246    if (IsServer(target_p) || IsMe(target_p))
247    {
248 <    sendto_one(source_p, form_str(ERR_CANTKILLSERVER),
248 >    sendto_one(source_p, ERR_CANTKILLSERVER,
249                 me.name, source_p->name);
250      return;
251    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines