aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_serverbots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_serverbots.cpp')
-rw-r--r--src/modules/m_serverbots.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/m_serverbots.cpp b/src/modules/m_serverbots.cpp
index 4765336d7..53bcb5ef2 100644
--- a/src/modules/m_serverbots.cpp
+++ b/src/modules/m_serverbots.cpp
@@ -15,6 +15,9 @@
/* $ModDesc: Provides fake clients that respond to messages. */
+namespace m_serverbots
+{
+
/** Command definition
*/
class Alias
@@ -203,6 +206,7 @@ class ModuleServerBots : public Module
void init()
{
ServerInstance->Modules->Attach(I_OnUserMessage, this);
+ ServerInstance->Modules->AddService(dataExt);
}
Version GetVersion()
@@ -315,4 +319,8 @@ class ModuleServerBots : public Module
}
};
+}
+
+using m_serverbots::ModuleServerBots;
+
MODULE_INIT(ModuleServerBots)