added MODE_HALFOP (+h, %)
[ircu2.10.12-pk.git] / ircd / whocmds.c
index 584cebbbb146f098c6576067a8dcc95e38ee684b..e100c1947842555c53d264b79f521a5a0ba50804 100644 (file)
@@ -178,6 +178,8 @@ void do_who(struct Client* sptr, struct Client* acptr, struct Channel* repchan,
        */
       if (IsChanOp(chan))
         *(p1++) = '@';
+      if (IsHalfOp(chan))
+        *(p1++) = '%';
       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 (IsHalfOp(chan))
+        *(p1++) = '%';
       else if (HasVoice(chan))
         *(p1++) = '+';
       else if (IsZombie(chan))