summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-01 01:01:12 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-01 01:01:12 +0200
commit0115c77804a46984c858c61f05dc4228fecc04fc (patch)
tree003cddf09257721b089db760d01b847caaef694e
parentbe9358c43f18c6134dad9d9c3ead8fad45fe6f1c (diff)
Send LUSERS before MOTD
Issue #399
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 53dfc3dc0..cc331f5a1 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -793,14 +793,14 @@ void LocalUser::FullConnect()
/* Trigger MOTD and LUSERS output, give modules a chance too */
ModResult MOD_RESULT;
- std::string command("MOTD");
+ std::string command("LUSERS");
std::vector<std::string> parameters;
FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true, command));
if (!MOD_RESULT)
ServerInstance->Parser->CallHandler(command, parameters, this);
MOD_RESULT = MOD_RES_PASSTHRU;
- command = "LUSERS";
+ command = "MOTD";
FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (command, parameters, this, true, command));
if (!MOD_RESULT)
ServerInstance->Parser->CallHandler(command, parameters, this);