]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_services.cpp
The module hook is kinda required.
[user/henk/code/inspircd.git] / src / modules / m_services.cpp
index 9b10b2f5e5425a62f413c1f00c503ef9c9cb15bc..92be81f9d22711609ae545509708794399f1f491 100644 (file)
@@ -122,7 +122,7 @@ class ModuleServices : public Module
                if (!ServerInstance->Modes->AddMode(m1) || !ServerInstance->Modes->AddMode(m2) || !ServerInstance->Modes->AddMode(m3)
                        || !ServerInstance->Modes->AddMode(m4) || !ServerInstance->Modes->AddMode(m5))
                {
-                       throw ModuleException("Could not add user and channel modes!");
+                       throw ModuleException("You cannot load m_services.so and m_services_account.so at the same time (or some other module has claimed our modes)!");
                }
 
                kludgeme = false;
@@ -237,7 +237,7 @@ class ModuleServices : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1,2,0,0,VF_COMMON|VF_VENDOR,API_VERSION);
+               return Version("$Id$",VF_COMMON|VF_VENDOR,API_VERSION);
        }
 };