summaryrefslogtreecommitdiff
path: root/src/modules/m_watch.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-10-13 20:37:38 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-10-13 20:37:38 +0200
commitc8d3cce3a701f9f7786c5efecb457850d89edf6d (patch)
treefeebd06a5192da7fc3ff09c7d862e38d494ccaef /src/modules/m_watch.cpp
parent9bb839b6a2873a366ac8685c3c8846b6837f85ca (diff)
parentd8fe6df7a7bc385a80ae3fde0e9e4a2ac12d4af3 (diff)
Merge pull request #934 from SaberUK/insp20+fix-various-issues
Fix various issues detected by Coverity.
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r--src/modules/m_watch.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp
index be05d7d2d..074ce37ad 100644
--- a/src/modules/m_watch.cpp
+++ b/src/modules/m_watch.cpp
@@ -163,9 +163,6 @@ class CommandWatch : public Command
/* Yup, is on my list */
watchlist::iterator n = wl->find(nick);
- if (!wl)
- return CMD_FAILURE;
-
if (n != wl->end())
{
if (!n->second.empty())