summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
-