summaryrefslogtreecommitdiff
path: root/include/modules.h
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 /include/modules.h
parent492eac20a8e2dfdbdbd5a83e41ed880af76cff79 (diff)
Fix not setting the correct compile flags on modules and fix the resulting warnings
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index c725152eb..98bb02f23 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1001,9 +1001,8 @@ class CoreExport Module : public Extensible
/** Called when a channels modes are being checked to see if they are allowed,
* mostly to ensure mlock/+r are set.
* @param c The channel
- * @return EVENT_STOP to stop checking modes
*/
- virtual EventReturn OnCheckModes(Channel *c) { throw NotImplementedException(); }
+ virtual void OnCheckModes(Channel *c) { throw NotImplementedException(); }
/** Called when a channel is synced.
* Channels are synced after a sjoin is finished processing