projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added FEAT_CHMODE_A_NOSET to prevent +a from being set by users
[ircu2.10.12-pk.git]
/
ircd
/
whocmds.c
diff --git
a/ircd/whocmds.c
b/ircd/whocmds.c
index 584cebbbb146f098c6576067a8dcc95e38ee684b..e100c1947842555c53d264b79f521a5a0ba50804 100644
(file)
--- a/
ircd/whocmds.c
+++ b/
ircd/whocmds.c
@@
-178,6
+178,8
@@
void do_who(struct Client* sptr, struct Client* acptr, struct Channel* repchan,
*/
if (IsChanOp(chan))
*(p1++) = '@';
*/
if (IsChanOp(chan))
*(p1++) = '@';
+ if (IsHalfOp(chan))
+ *(p1++) = '%';
if (HasVoice(chan))
*(p1++) = '+';
if (IsZombie(chan))
if (HasVoice(chan))
*(p1++) = '+';
if (IsZombie(chan))
@@
-188,6
+190,8
@@
void do_who(struct Client* sptr, struct Client* acptr, struct Channel* repchan,
else {
if (IsChanOp(chan))
*(p1++) = '@';
else {
if (IsChanOp(chan))
*(p1++) = '@';
+ else if (IsHalfOp(chan))
+ *(p1++) = '%';
else if (HasVoice(chan))
*(p1++) = '+';
else if (IsZombie(chan))
else if (HasVoice(chan))
*(p1++) = '+';
else if (IsZombie(chan))