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 /include/modules.h | |
parent | 492eac20a8e2dfdbdbd5a83e41ed880af76cff79 (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.h | 3 |
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 |