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

Comparing ircd-hybrid/trunk/modules/m_restart.c (file contents):
Revision 2820 by michael, Wed Jan 15 23:10:26 2014 UTC vs.
Revision 3109 by michael, Thu Mar 6 19:25:12 2014 UTC

# Line 48 | Line 48 | mo_restart(struct Client *client_p, stru
48  
49    if (!HasOFlag(source_p, OPER_FLAG_RESTART))
50    {
51 <    sendto_one(source_p, form_str(ERR_NOPRIVS), me.name,
52 <               source_p->name, "restart");
51 >    sendto_one_numeric(source_p, &me, ERR_NOPRIVS, "restart");
52      return 0;
53    }
54  

Diff Legend

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