summaryrefslogtreecommitdiff
path: root/src/commands/cmd_loadmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_loadmodule.cpp')
-rw-r--r--src/commands/cmd_loadmodule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_loadmodule.cpp b/src/commands/cmd_loadmodule.cpp
index d4cda20ab..b7a774e36 100644
--- a/src/commands/cmd_loadmodule.cpp
+++ b/src/commands/cmd_loadmodule.cpp
@@ -40,7 +40,7 @@ CmdResult CommandLoadmodule::Handle (const std::vector<std::string>& parameters,
{
if (ServerInstance->Modules->Load(parameters[0].c_str()))
{
- ServerInstance->SNO->WriteToSnoMask('a', "NEW MODULE: %s loaded %s",user->nick.c_str(), parameters[0].c_str());
+ ServerInstance->SNO->WriteGlobalSno('a', "NEW MODULE: %s loaded %s",user->nick.c_str(), parameters[0].c_str());
user->WriteNumeric(975, "%s %s :Module successfully loaded.",user->nick.c_str(), parameters[0].c_str());
return CMD_SUCCESS;
}