]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_globalload.cpp
These two numerics are supposed to use SentText() as they can go to remote users...
[user/henk/code/inspircd.git] / src / modules / m_globalload.cpp
index cae8b09f9e3c3d2a2cfb926cd180b9960e725e77..eda654423af55c944683388452dae0a609d946c3 100644 (file)
@@ -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());