From 0ae5c96c69702adec4197403a4ee347d7be92078 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 27 Aug 2007 18:18:16 +0000 Subject: restrictbanned: Allow changes to UID git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7903 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_restrictbanned.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_restrictbanned.cpp b/src/modules/m_restrictbanned.cpp index 01245b505..a5ab337ad 100644 --- a/src/modules/m_restrictbanned.cpp +++ b/src/modules/m_restrictbanned.cpp @@ -59,6 +59,10 @@ class ModuleRestrictBanned : public Module if (!IS_LOCAL(user)) return 0; + /* Allow changes to UID */ + if (isdigit(newnick[0])) + return 0; + /* bit of a special case. */ for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++) { -- cgit v1.2.3