From cada37c7b51c0f1bee8117caa0123412b2e48081 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 12 Nov 2013 10:42:17 -0500 Subject: These two numerics are supposed to use SentText() as they can go to remote users... --- src/modules/m_globalload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_globalload.cpp') 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()); -- cgit v1.3.1-10-gc9f91