# | 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), |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |