]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/svsnick.cpp
Avoid doing more work than necessary when checking the O: extban.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / svsnick.cpp
index e9292f445a9a89e4ff38c9b0312e13b1d55dcd90..8d1bc80ba20cb2dd4a04c6ba7c0024c20fab4b4d 100644 (file)
@@ -67,6 +67,7 @@ CmdResult CommandSVSNick::Handle(User* user, Params& parameters)
                if (!u->ChangeNick(nick, NickTS))
                {
                        // Changing to 'nick' failed (it may already be in use), change to the uuid
+                       u->WriteNumeric(RPL_SAVENICK, u->uuid, "Your nickname is in use by an older user on a new server.");
                        u->ChangeNick(u->uuid);
                }
        }