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

Comparing ircd-hybrid/trunk/modules/m_kline.c (file contents):
Revision 1793 by michael, Sun Mar 31 14:06:08 2013 UTC vs.
Revision 1832 by michael, Fri Apr 19 19:16:09 2013 UTC

# Line 75 | Line 75 | mo_kline(struct Client *client_p, struct
75  
76    if (!HasOFlag(source_p, OPER_FLAG_K))
77    {
78 <    sendto_one(source_p, form_str(ERR_NOPRIVS),
78 >    sendto_one(source_p, ERR_NOPRIVS,
79                 me.name, source_p->name, "kline");
80      return;
81    }
# Line 276 | Line 276 | already_placed_kline(struct Client *sour
276    {
277      if (warn)
278      {
279 <      reason = conf->reason ? conf->reason : "No reason";
279 >      reason = conf->reason ? conf->reason : CONF_NOREASON;
280        sendto_one(source_p,
281                   ":%s NOTICE %s :[%s@%s] already K-Lined by [%s@%s] - %s",
282                   me.name, source_p->name, luser, lhost, conf->user,
# Line 308 | Line 308 | mo_unkline(struct Client *client_p,struc
308  
309    if (!HasOFlag(source_p, OPER_FLAG_UNKLINE))
310    {
311 <    sendto_one(source_p, form_str(ERR_NOPRIVS),
311 >    sendto_one(source_p, ERR_NOPRIVS,
312                 me.name, source_p->name, "unkline");
313      return;
314    }
315  
316    if (EmptyString(parv[1]))
317    {
318 <    sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
318 >    sendto_one(source_p, ERR_NEEDMOREPARAMS,
319                 me.name, source_p->name, "UNKLINE");
320      return;
321    }

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)