]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nickflood.cpp
Remove m_testcommand too
[user/henk/code/inspircd.git] / src / modules / m_nickflood.cpp
index fcc84a414627d4b1c44269d5c74b80dd8928af59..97055c225b8561424b5dbee76666ac0fefd1fc53 100644 (file)
@@ -258,7 +258,7 @@ class ModuleNickFlood : public Module
        /*
         * XXX: HACK: We do the increment on the *POST* event here (instead of all together) because we have no way of knowing whether other modules would block a nickchange.
         */
-       virtual void OnUserPostNick(User* user, const std::string oldnick)
+       virtual void OnUserPostNick(User* user, const std::string &oldnick)
        {
                if (isdigit(user->nick[0])) /* allow switches to UID */
                        return;