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