diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-08-31 12:51:42 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-08-31 12:51:42 +0200 |
commit | 74f7c865f5fd0424c49bed5af0204f194effc37e (patch) | |
tree | bd4471d226d86f941276d47b19a839c85e07c8ee /src | |
parent | 77576e0fea41a3dbb06398ba9cf915105bfa7b10 (diff) |
m_blockamsg Remove redundant check
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_blockamsg.cpp | 2 |
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. |