diff options
| author | 2013-04-01 01:01:12 +0200 | |
|---|---|---|
| committer | 2013-04-01 01:01:12 +0200 | |
| commit | 0115c77804a46984c858c61f05dc4228fecc04fc (patch) | |
| tree | 003cddf09257721b089db760d01b847caaef694e /src/users.cpp | |
| parent | Change the default value of <options:cyclehosts> to no (diff) | |
| download | inspircd++-0115c77804a46984c858c61f05dc4228fecc04fc.tar.gz inspircd++-0115c77804a46984c858c61f05dc4228fecc04fc.tar.bz2 inspircd++-0115c77804a46984c858c61f05dc4228fecc04fc.zip | |
Send LUSERS before MOTD
Issue #399
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 4 |
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); |
