diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_services.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_services_account.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 2be2328a7..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; diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index fa96b3e0c..fe381f64c 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -54,7 +54,7 @@ class ModuleServicesAccount : public Module m2 = new AChannel_M(ServerInstance); m3 = new AUser_R(ServerInstance); if (!ServerInstance->Modes->AddMode(m1) || !ServerInstance->Modes->AddMode(m2) || !ServerInstance->Modes->AddMode(m3)) - throw ModuleException("Could not add new 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)!"); Implementation eventlist[] = { I_OnWhois, I_OnUserPreMessage, I_OnUserPreNotice, I_OnUserPreJoin, I_OnSyncUserMetaData, I_OnUserQuit, I_OnCleanup, I_OnDecodeMetaData, I_On005Numeric }; |