From 02528316c5ccbe10464a3aeed12eef5637d2319b Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Sat, 2 Oct 2010 17:25:07 -0400 Subject: Fix error handling and bad SQL syntax --- src/modules/m_serverbots.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/modules/m_serverbots.cpp') 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) -- cgit v1.3.1-10-gc9f91