X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_services.cpp;h=92be81f9d22711609ae545509708794399f1f491;hb=697098bb47651b40ed9c768361d1a3b1ca452856;hp=9b10b2f5e5425a62f413c1f00c503ef9c9cb15bc;hpb=8f67a184a762a3865958c82fe8b135dd61e26015;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 9b10b2f5e..92be81f9d 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -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); } };