| # | Line 139 | Line 139 | mo_dline(struct Client *client_p, struct | |
|---|---|---|
| 139 | time_t cur_time; | |
| 140 | char hostip[HOSTIPLEN]; | |
| 141 | ||
| 142 | < | if (!IsOperK(source_p)) |
| 142 | > | if (!HasOFlag(source_p, OPER_FLAG_K)) |
| 143 | { | |
| 144 | sendto_one(source_p, form_str(ERR_NOPRIVS), | |
| 145 | me.name, source_p->name, "kline"); | |
| # | Line 299 | Line 299 | mo_undline(struct Client *client_p, stru | |
| 299 | { | |
| 300 | const char *cidr = NULL; | |
| 301 | ||
| 302 | < | if (!IsOperUnkline(source_p)) |
| 302 | > | if (!HasOFlag(source_p, OPER_FLAG_UNKLINE)) |
| 303 | { | |
| 304 | sendto_one(source_p, form_str(ERR_NOPRIVS), | |
| 305 | me.name, source_p->name, "undline"); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |