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

Comparing ircd-hybrid-8/modules/m_set.c (file contents):
Revision 1459 by michael, Fri Jun 29 11:28:25 2012 UTC vs.
Revision 1460 by michael, Fri Jul 6 14:32:53 2012 UTC

# Line 495 | Line 495 | mo_set(struct Client *client_p, struct C
495    const char *intarg = NULL;
496    const struct SetStruct *tab = set_cmd_table;
497  
498 +  if (!HasOFlag(source_p, OPER_FLAG_SET))
499 +  {
500 +    sendto_one(source_p, form_str(ERR_NOPRIVS),
501 +               me.name, source_p->name, "set");
502 +    return;
503 +  }
504 +
505    if (parc > 1)
506    {
507      /*

Diff Legend

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