diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 10:44:39 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 10:44:39 +0000 |
commit | e997de794f6671ebda5a58b4452657182a742073 (patch) | |
tree | 4a00e0e37425bfb57efc7f7e5f8d43af50b27a77 /src/modules | |
parent | 69d55d573731dcceaf112e9009cd415da84f45a3 (diff) |
Add a return MODEACTION_DENY, fixes 'control reaches end of non-void function warning'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4199 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_botmode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index fa79c83f6..7120c36c7 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -47,6 +47,8 @@ class BotMode : public ModeHandler return MODEACTION_ALLOW; } } + + return MODEACTION_DENY; } }; @@ -112,4 +114,3 @@ extern "C" void * init_module( void ) { return new ModuleBotModeFactory; } - |