summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.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_nicklock.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_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index f413696dc..dd65a5a74 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -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;