]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blob - whousermodes.patch
welcome: show global in snomask and notices when dealing with global welcome entries
[irc/quakenet/snircd-patchqueue.git] / whousermodes.patch
1 show all of the snircd usermodes in who to opers
2
3 diff -r b6538352b946 ircd/whocmds.c
4 --- a/ircd/whocmds.c Thu Mar 18 14:06:31 2010 +0100
5 +++ b/ircd/whocmds.c Thu Mar 18 14:15:13 2010 +0100
6 @@ -212,6 +212,20 @@
7 *(p1++) = 'g';
8 if (HasSetHost(acptr))
9 *(p1++) = 'h';
10 + if (IsNoChan(acptr))
11 + *(p1++) = 'n';
12 + if (IsNoIdle(acptr))
13 + *(p1++) = 'I';
14 + if (IsAccountOnly(acptr))
15 + *(p1++) = 'R';
16 + if (IsCommonChansOnly(acptr))
17 + *(p1++) = 'q';
18 + if (IsParanoid(acptr))
19 + *(p1++) = 'P';
20 + if (IsXtraOp(acptr))
21 + *(p1++) = 'X';
22 + if (IsChannelService(acptr))
23 + *(p1++) = 'k';
24 }
25 if (HasHiddenHost(acptr))
26 *(p1++) = 'x';