summaryrefslogtreecommitdiff
path: root/src/modules/m_nonicks.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-24 22:31:04 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-24 22:31:04 +0000
commit4599328e31c71958e0c3086980d1470859307b10 (patch)
treea90d93b81d0af455f0f6d64a9f2b2a2b7aaa5f7f /src/modules/m_nonicks.cpp
parent18f75b32d5d4b456496e65c3d472567bc02e6e17 (diff)
Allow nick locking to prevent voluntary changes to UID
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12322 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r--src/modules/m_nonicks.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp
index 5fa5c3227..8713ffe96 100644
--- a/src/modules/m_nonicks.cpp
+++ b/src/modules/m_nonicks.cpp
@@ -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;