]>
Commit | Line | Data |
---|---|---|
a7e6b62c | 1 | Fix forwarding by hub of oplevels for non Apass channels. |
2 | ||
92f62663 | 3 | diff -r 8097c580c34d ircd/m_burst.c |
4 | --- a/ircd/m_burst.c Sat Jan 24 00:27:47 2009 +0100 | |
5 | +++ b/ircd/m_burst.c Sat Jan 24 01:10:18 2009 +0100 | |
6 | @@ -544,7 +544,12 @@ | |
a7e6b62c | 7 | nickstr[nickpos++] = 'v'; |
8 | if (current_mode & CHFL_CHANOP) | |
9 | { | |
10 | - if (chptr->mode.apass[0]) | |
92f62663 | 11 | + /* snircd - oplevel forward fix |
12 | + * appearantly this is done for some anti netrider stuff? why though..? | |
13 | + * anyway, we do not need to bother with it with OPLEVELS disabled | |
14 | + * and just pass on the oplevel to our uplinks | |
15 | + */ | |
16 | + if (chptr->mode.apass[0] || !feature_bool(FEAT_OPLEVELS)) | |
a7e6b62c | 17 | nickpos += ircd_snprintf(0, nickstr + nickpos, sizeof(nickstr) - nickpos, "%u", oplevel); |
18 | else | |
19 | nickstr[nickpos++] = 'o'; |