]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nonicks.cpp
This module isn't supposed to be part of 2.0; it will be third-party until 2.1
[user/henk/code/inspircd.git] / src / modules / m_nonicks.cpp
index f736d95185073c15a60f11bb8b6886d56b6af8f6..8713ffe96abc88ea333f84046aa5981af7edc3e6 100644 (file)
@@ -62,7 +62,7 @@ class ModuleNoNickChange : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Provides support for channel mode +N & extban +b N: which prevents nick changes on channel", VF_COMMON | VF_VENDOR);
+               return Version("Provides support for channel mode +N & extban +b N: which prevents nick changes on channel", VF_VENDOR);
        }
 
 
@@ -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;