]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Send LUSERS before MOTD
[user/henk/code/inspircd.git] / src / users.cpp
index 53dfc3dc01e71e224195e5b8412dac0552f1102c..cc331f5a14891e522ee79d8553a55b8992f43d80 100644 (file)
@@ -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);