]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonicks.cpp
Fix NICKLOCK/SANICK errors with Q:lined nicks
[user/henk/code/inspircd.git] / src / modules / m_nonicks.cpp
index 5fa5c322719d35e5084a8592ec05dc15aa21c4e7..8713ffe96abc88ea333f84046aa5981af7edc3e6 100644 (file)
@@ -76,9 +76,6 @@ class ModuleNoNickChange : public Module
                if (!IS_LOCAL(user))
                        return MOD_RES_PASSTHRU;
 
-               if (isdigit(newnick[0])) /* don't even think about touching a switch to uid! */
-                       return MOD_RES_PASSTHRU;
-
                // Allow forced nick changes.
                if (ServerInstance->NICKForced.get(user))
                        return MOD_RES_PASSTHRU;