diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_restrictbanned.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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++) { |