added MODE_HALFOP (+h, %)
[ircu2.10.12-pk.git] / ircd / m_whois.c
index 01ee78e4371b862ec73c73294b09799590a7de0e..68910066bb0e451f7ac21bd6467fa367f411f71d 100644 (file)
@@ -181,6 +181,8 @@ static void do_whois(struct Client* sptr, struct Client *acptr, int parc)
          *(buf + len++) = '<';
        else if (IsChanOp(chan))
          *(buf + len++) = '@';
+       else if (IsHalfOp(chan))
+         *(buf + len++) = '%';
        else if (HasVoice(chan))
          *(buf + len++) = '+';
        else if (IsZombie(chan))