diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_nonicks.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index da5003f83..3adc9e160 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -75,6 +75,9 @@ class ModuleNoNickChange : public Module { if (IS_LOCAL(user)) { + if (isdigit(newnick[0])) /* don't even think about touching a switch to uid! */ + return 0; + for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++) { chanrec* curr = i->first; |