summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_auditorium.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index c3e31c583..2a8edb9d4 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -183,7 +183,7 @@ class ModuleAuditorium : public Module
if (!channel)
return;
Membership* memb = channel->GetUser(user);
- if (IsVisible(memb))
+ if ((!memb) || (IsVisible(memb)))
return;
if (CanSee(source, memb))
return;