* | 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
virtual Version GetVersion()
{
- return Version(1,2,0,1,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
}
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;