]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_stub.cpp
Merge pull request #1139 from johanna-a/master
[user/henk/code/inspircd.git] / src / coremods / core_stub.cpp
index 28adb9e6a0c9eab8c16e9665f6dd5a822f6f546f..20f6888b5c54af5967d3555637c09c476c4db329 100644 (file)
@@ -46,7 +46,7 @@ class CommandConnect : public Command
                /*
                 * This is handled by the server linking module, if necessary. Do not remove this stub.
                 */
-               user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick.c_str());
+               user->WriteNotice("Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.");
                return CMD_SUCCESS;
        }
 };
@@ -129,7 +129,7 @@ class CommandSquit : public Command
         */
        CmdResult Handle(const std::vector<std::string>& parameters, User* user)
        {
-               user->WriteServ("NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick.c_str());
+               user->WriteNotice("Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.");
                return CMD_FAILURE;
        }
 };