diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-21 19:31:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-21 19:31:42 +0000 |
commit | e541d870345bd0f7066049a17ddc497b603e7f04 (patch) | |
tree | 47f4080a69350afdc18cdd1678d628d9b1a2a9bc /src/commands | |
parent | 0fc89abe46fc3f98603340bc914f4ab4376c6708 (diff) |
Patch to change MODULES numerics, so we dont get a collision when using AUTHENTICATE. Thanks nenolod.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9148 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_modules.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/cmd_modules.cpp b/src/commands/cmd_modules.cpp index 482eb82e4..d2a6aed45 100644 --- a/src/commands/cmd_modules.cpp +++ b/src/commands/cmd_modules.cpp @@ -62,14 +62,14 @@ CmdResult CommandModules::Handle (const char* const*, int, User *user) strlcpy(modulename,module_names[i].c_str(),256); if (IS_OPER(user)) { - user->WriteServ("900 %s :0x%08lx %d.%d.%d.%d %s (%s)",user->nick,m,V.Major,V.Minor,V.Revision,V.Build,ServerConfig::CleanFilename(modulename),flagstate+2); + user->WriteServ("702 %s :0x%08lx %d.%d.%d.%d %s (%s)",user->nick,m,V.Major,V.Minor,V.Revision,V.Build,ServerConfig::CleanFilename(modulename),flagstate+2); } else { - user->WriteServ("900 %s :%s",user->nick,ServerConfig::CleanFilename(modulename)); + user->WriteServ("702 %s :%s",user->nick,ServerConfig::CleanFilename(modulename)); } } - user->WriteServ("901 %s :End of MODULES list",user->nick); + user->WriteServ("703 %s :End of MODULES list",user->nick); return CMD_SUCCESS; } |