* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2009 InspIRCd Development Team
* See: http://www.inspircd.org/wiki/index.php/Credits
*
* This program is free but copyrighted software; see
if (isdigit(newnick[0])) /* don't even think about touching a switch to uid! */
return 0;
+ // Allow forced nick changes.
+ if (user->GetExt("NICKForced"))
+ return 0;
+
for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++)
{
Channel* curr = i->first;