]> jfr.im git - irc/quakenet/snircd.git/blobdiff - ircd/m_userhost.c
Should be unsigned long for A
[irc/quakenet/snircd.git] / ircd / m_userhost.c
index 9fe392c1813c68799b28b09fb59d6f05ef6e821d..b6790809b8fee35c768ade8e0ca5246571ead4de 100644 (file)
@@ -104,7 +104,7 @@ static void userhost_formatter(struct Client* cptr, struct Client *sptr, struct
               * of +x.  If an oper wants the real host, he should go to
               * /whois to get it.
               */
-             HasHiddenHost(cptr) && (sptr != cptr) ?
+             !IsAnOper(sptr) ?
              cli_user(cptr)->host : cli_user(cptr)->realhost);
 }