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

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

# Line 139 | Line 139 | mo_dline(struct Client *client_p, struct
139    time_t cur_time;
140    char hostip[HOSTIPLEN];
141  
142 <  if (!IsOperK(source_p))
142 >  if (!HasOFlag(source_p, OPER_FLAG_K))
143    {
144      sendto_one(source_p, form_str(ERR_NOPRIVS),
145                 me.name, source_p->name, "kline");
# Line 299 | Line 299 | mo_undline(struct Client *client_p, stru
299   {
300    const char *cidr = NULL;
301  
302 <  if (!IsOperUnkline(source_p))
302 >  if (!HasOFlag(source_p, OPER_FLAG_UNKLINE))
303    {
304      sendto_one(source_p, form_str(ERR_NOPRIVS),
305                 me.name, source_p->name, "undline");

Diff Legend

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