]>
Commit | Line | Data |
---|---|---|
1 | add protocol violation when we should have gotten an opername, but did not | |
2 | ||
3 | diff -r 495100bee360 ircd/s_user.c | |
4 | --- a/ircd/s_user.c | |
5 | +++ b/ircd/s_user.c | |
6 | @@ -1293,6 +1293,9 @@ | |
7 | } | |
8 | } | |
9 | } | |
10 | + /* no opername? */ | |
11 | + else | |
12 | + protocol_violation(cptr, "Received mode +o for user %s without opername", cli_name(sptr)); | |
13 | } | |
14 | } else { | |
15 | ClrFlag(sptr, FLAG_OPER); |