]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nicklock.cpp
Increase penalty for KNOCK
[user/henk/code/inspircd.git] / src / modules / m_nicklock.cpp
index f4e847875ea0fb0b8f4654bac429537a011d0dd6..dd65a5a74e2e587141706f0c416d587fa2db6aaf 100644 (file)
@@ -166,7 +166,7 @@ class ModuleNickLock : public Module
 
        Version GetVersion()
        {
-               return Version("Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit", VF_COMMON | VF_VENDOR);
+               return Version("Provides the NICKLOCK command, allows an oper to chage a users nick and lock them to it until they quit", VF_OPTCOMMON | VF_VENDOR);
        }
 
 
@@ -175,9 +175,6 @@ class ModuleNickLock : public Module
                if (!IS_LOCAL(user))
                        return MOD_RES_PASSTHRU;
 
-               if (isdigit(newnick[0])) /* Allow a switch to a UID */
-                       return MOD_RES_PASSTHRU;
-
                if (ServerInstance->NICKForced.get(user)) /* Allow forced nick changes */
                        return MOD_RES_PASSTHRU;