* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
if (u && IS_LOCAL(u))
{
- parameterlist par;
- par.push_back(parameters[1]);
+ std::string nick = parameters[1];
+ if (isdigit(nick[0]))
+ nick = u->uuid;
- if (!u->ForceNickChange(parameters[1].c_str()))
+ if (!u->ForceNickChange(nick.c_str()))
{
/* buh. UID them */
if (!u->ForceNickChange(u->uuid.c_str()))