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

Comparing ircd-hybrid-8/modules/m_globops.c (file contents):
Revision 1215 by michael, Wed Aug 24 21:41:23 2011 UTC vs.
Revision 1216 by michael, Tue Sep 13 18:22:31 2011 UTC

# Line 70 | Line 70 | mo_globops(struct Client *client_p, stru
70   {
71    const char *message = parv[1];
72  
73 +  if (!IsOperGlobops(source_p))
74 +  {
75 +    sendto_one(source_p, form_str(ERR_NOPRIVS),
76 +               me.name, source_p->name, "globops");
77 +    return;
78 +  }
79 +
80    if (EmptyString(message))
81    {
82      sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),

Diff Legend

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