aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-27 10:19:35 +0100
committerGravatar Sadie Powell2021-04-27 10:37:04 +0100
commit8526836cf598b49de6fe8e1cef7a169d3de481f8 (patch)
treef9ae452b867f69c6e09913db2dd84ae3fdaba7e3 /src/configreader.cpp
parentUse parameter pack expansion instead of recursive calls. (diff)
parentFix SendNoticeInternal not having a NULL command variant. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 4b65f5927..29854a9b7 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -565,16 +565,16 @@ void ServerConfig::ApplyModules(User* user)
ServerInstance->SNO.WriteGlobalSno('a', "*** REHASH UNLOADED MODULE: %s", modname.c_str());
if (user)
- user->WriteNumeric(RPL_UNLOADEDMODULE, modname, InspIRCd::Format("Module %s successfully unloaded.", modname.c_str()));
+ user->WriteNumeric(RPL_UNLOADEDMODULE, modname, InspIRCd::Format("The %s module was unloaded.", modname.c_str()));
else
- ServerInstance->SNO.WriteGlobalSno('a', "Module %s successfully unloaded.", modname.c_str());
+ ServerInstance->SNO.WriteGlobalSno('a', "The %s module was unloaded.", modname.c_str());
}
else
{
if (user)
- user->WriteNumeric(ERR_CANTUNLOADMODULE, modname, InspIRCd::Format("Failed to unload module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str()));
+ user->WriteNumeric(ERR_CANTUNLOADMODULE, modname, InspIRCd::Format("Failed to unload the %s module: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str()));
else
- ServerInstance->SNO.WriteGlobalSno('a', "Failed to unload module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str());
+ ServerInstance->SNO.WriteGlobalSno('a', "Failed to unload the %s module: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str());
}
}
@@ -588,16 +588,16 @@ void ServerConfig::ApplyModules(User* user)
{
ServerInstance->SNO.WriteGlobalSno('a', "*** REHASH LOADED MODULE: %s", modname.c_str());
if (user)
- user->WriteNumeric(RPL_LOADEDMODULE, modname, InspIRCd::Format("Module %s successfully loaded.", modname.c_str()));
+ user->WriteNumeric(RPL_LOADEDMODULE, modname, InspIRCd::Format("The %s module was loaded.", modname.c_str()));
else
- ServerInstance->SNO.WriteGlobalSno('a', "Module %s successfully loaded.", modname.c_str());
+ ServerInstance->SNO.WriteGlobalSno('a', "The %s module was loaded.", modname.c_str());
}
else
{
if (user)
- user->WriteNumeric(ERR_CANTLOADMODULE, modname, InspIRCd::Format("Failed to load module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str()));
+ user->WriteNumeric(ERR_CANTLOADMODULE, modname, InspIRCd::Format("Failed to load the %s module: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str()));
else
- ServerInstance->SNO.WriteGlobalSno('a', "Failed to load module %s: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str());
+ ServerInstance->SNO.WriteGlobalSno('a', "Failed to load the %s module: %s", modname.c_str(), ServerInstance->Modules.LastError().c_str());
}
}
}