summaryrefslogtreecommitdiff
path: root/src/coremods/core_who.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods/core_who.cpp')
-rw-r--r--src/coremods/core_who.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/coremods/core_who.cpp b/src/coremods/core_who.cpp
index 18a63ff3c..39ea347dc 100644
--- a/src/coremods/core_who.cpp
+++ b/src/coremods/core_who.cpp
@@ -171,9 +171,6 @@ bool CommandWho::whomatch(User* cuser, User* user, const char* matchtext)
bool CommandWho::CanView(Channel* chan, User* user)
{
- if (!user || !chan)
- return false;
-
/* Bug #383 - moved higher up the list, because if we are in the channel
* we can see all its users
*/