aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_globalload.cpp
diff options
context:
space:
mode:
authorGravatar Adam2013-11-12 10:42:17 -0500
committerGravatar Adam2013-11-12 10:42:17 -0500
commitcada37c7b51c0f1bee8117caa0123412b2e48081 (patch)
tree5a02023d7d528eb48435eeb7b1ec4ccc09a56b30 /src/modules/m_globalload.cpp
parentUse WriteNumeric() everywhere we send numerics and include the user's nick au... (diff)
downloadinspircd++-cada37c7b51c0f1bee8117caa0123412b2e48081.tar.gz
inspircd++-cada37c7b51c0f1bee8117caa0123412b2e48081.tar.bz2
inspircd++-cada37c7b51c0f1bee8117caa0123412b2e48081.zip
These two numerics are supposed to use SentText() as they can go to remote users...
Diffstat (limited to 'src/modules/m_globalload.cpp')
-rw-r--r--src/modules/m_globalload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp
index cae8b09f9..eda654423 100644
--- a/src/modules/m_globalload.cpp
+++ b/src/modules/m_globalload.cpp
@@ -102,7 +102,7 @@ class CommandGunloadmodule : public Command
}
}
else
- user->SendText(":%s ERR_CANTUNLOADMODULE %s %s :No such module", ServerInstance->Config->ServerName.c_str(), user->nick.c_str(), parameters[0].c_str());
+ user->SendText(":%s %03d %s %s :No such module", ServerInstance->Config->ServerName.c_str(), ERR_CANTUNLOADMODULE, user->nick.c_str(), parameters[0].c_str());
}
else
ServerInstance->SNO->WriteToSnoMask('a', "MODULE '%s' GLOBAL UNLOAD BY '%s' (not unloaded here)",parameters[0].c_str(), user->nick.c_str());