summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-09 10:44:39 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-09 10:44:39 +0000
commite997de794f6671ebda5a58b4452657182a742073 (patch)
tree4a00e0e37425bfb57efc7f7e5f8d43af50b27a77
parent69d55d573731dcceaf112e9009cd415da84f45a3 (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
-rw-r--r--src/modules/m_botmode.cpp3
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;
}
-