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

Comparing ircd-hybrid-8/modules/m_rkline.c (file contents):
Revision 1218 by michael, Mon Aug 15 08:11:31 2011 UTC vs.
Revision 1219 by michael, Sun Sep 18 09:02:38 2011 UTC

# Line 113 | Line 113 | mo_rkline(struct Client *client_p, struc
113    time_t tkline_time = 0;
114    time_t cur_time = 0;
115  
116 <  if (!IsAdmin(source_p) || !IsOperK(source_p))
116 >  if (!HasUMode(source_p, UMODE_ADMIN) || !HasOFlag(source_p, OPER_FLAG_K))
117    {
118      sendto_one(source_p, form_str(ERR_NOPRIVS),
119                 me.name, source_p->name, "rkline");
# Line 378 | Line 378 | mo_unrkline(struct Client *client_p,stru
378    char *target_server = NULL;
379    char *user, *host;
380  
381 <  if (!IsAdmin(source_p) || !IsOperUnkline(source_p))
381 >  if (!HasUMode(source_p, UMODE_ADMIN) || !HasOFlag(source_p, OPER_FLAG_UNKLINE))
382    {
383      sendto_one(source_p, form_str(ERR_NOPRIVS),
384                 me.name, source_p->name, "unrkline");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines