* | 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
return CMD_FAILURE;
}
- /* XXX in the future, this may move to a static Channel method (the delete.) -- w00t */
- if (!channel->PartUser(user, reason))
- delete channel;
+ channel->PartUser(user, reason);
Channel::JoinUser(user, parameters[0].c_str(), true, "", false, ServerInstance->Time());
}
virtual Version GetVersion()
{
- return Version("Provides support for unreal-style CYCLE command.", VF_VENDOR, API_VERSION);
+ return Version("Provides support for unreal-style CYCLE command.", VF_VENDOR);
}
};