summaryrefslogtreecommitdiffstats
path: root/src/webtv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtv.c')
-rw-r--r--src/webtv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webtv.c b/src/webtv.c
index 8a218a912..7436c3aaf 100644
--- a/src/webtv.c
+++ b/src/webtv.c
@@ -299,8 +299,12 @@ int w_whois(aClient *cptr, aClient *sptr, int parc, char *parv[])
}
}
+#ifdef ENABLE_INVISOPER
if (buf[0] != '\0' && !IsULine(acptr) && (!IsHiding(acptr) ||
IsNetAdmin(sptr) || sptr == acptr))
+#else
+ if (buf[0] != '\0' && !IsULine(acptr))
+#endif
sendto_one(sptr,
":IRC PRIVMSG %s :%s is on %s",
sptr->name, name, buf);