summaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-08-31 12:51:42 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-08-31 12:51:42 +0200
commit74f7c865f5fd0424c49bed5af0204f194effc37e (patch)
treebd4471d226d86f941276d47b19a839c85e07c8ee /src/modules/m_blockamsg.cpp
parent77576e0fea41a3dbb06398ba9cf915105bfa7b10 (diff)
m_blockamsg Remove redundant check
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r--src/modules/m_blockamsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 13533808a..e345286b2 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -95,7 +95,7 @@ class ModuleBlockAmsg : public Module
targets = 1;
for(const char* c = parameters[0].c_str(); *c; c++)
- if((*c == ',') && *(c+1) && (*(c+1) == '#'))
+ if ((*c == ',') && (*(c+1) == '#'))
targets++;
/* targets should now contain the number of channel targets the msg/notice was pointed at.