diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:04:22 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-08-06 13:04:22 +0200 |
commit | 5189e878d24e7e65de1e81aaab10b8d5d9dd6cae (patch) | |
tree | c15047a5dec944dfb20e832304fe8e2561696349 /src/coremods | |
parent | 895b193c665bd7e6c43bbdb4b2819c258da86e25 (diff) |
core_who Remove redundant NULL checks from CanView()
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_who.cpp | 3 |
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 */ |