summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-20 02:55:25 -0400
committerAdam <Adam@anope.org>2013-07-20 03:06:20 -0400
commit6db01869479c878753fc6da49f2fb0bc44511359 (patch)
tree130e3afdc6d524eae1bb9a083dd60c84f523e1cb /src/channels.cpp
parent492eac20a8e2dfdbdbd5a83e41ed880af76cff79 (diff)
Fix not setting the correct compile flags on modules and fix the resulting warnings
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 0b790e54e..58083df00 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -104,10 +104,7 @@ void Channel::CheckModes()
return;
}
- EventReturn MOD_RESULT;
- FOREACH_RESULT(OnCheckModes, MOD_RESULT, (this));
- if (MOD_RESULT == EVENT_STOP)
- return;
+ FOREACH_MOD(OnCheckModes, (this));
}
bool Channel::CheckDelete()