diff options
author | Adam <Adam@anope.org> | 2013-07-20 02:55:25 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-20 03:06:20 -0400 |
commit | 6db01869479c878753fc6da49f2fb0bc44511359 (patch) | |
tree | 130e3afdc6d524eae1bb9a083dd60c84f523e1cb /src/channels.cpp | |
parent | 492eac20a8e2dfdbdbd5a83e41ed880af76cff79 (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.cpp | 5 |
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() |