summaryrefslogtreecommitdiff
path: root/src/cmd_ison.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_ison.cpp')
-rw-r--r--src/cmd_ison.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd_ison.cpp b/src/cmd_ison.cpp
index 0cee160c7..d050af982 100644
--- a/src/cmd_ison.cpp
+++ b/src/cmd_ison.cpp
@@ -36,6 +36,9 @@ CmdResult cmd_ison::Handle (const char** parameters, int pcnt, userrec *user)
if (u)
{
+ if (u->Visibility && !u->Visibility->VisibleTo(user))
+ continue;
+
reply.append(u->nick).append(" ");
if (reply.length() > 450)
{