summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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()