mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
nonicks: allow switches to UID, so we don't get loads of unnecessary kills on collides/svsnick
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7902 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
ae30e67a05
commit
afa437fc03
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user