* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2008 InspIRCd Development Team
* See: http://www.inspircd.org/wiki/index.php/Credits
*
* This program is free but copyrighted software; see
{
}
- ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding)
+ ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool)
{
if (source != dest)
return MODEACTION_DENY;
* 'real' hostname which you shouldnt write to.
*/
- /* 2007/08/18: add <cloak:ipalways> which always cloaks
+ /* 2008/08/18: add <cloak:ipalways> which always cloaks
* the IP, for anonymity. --nenolod
*/
if (!ipalways)
}
/* Register it with the core */
- if (!ServerInstance->AddMode(cu))
+ if (!ServerInstance->Modes->AddMode(cu))
{
delete cu;
throw ModuleException("Could not add new modes!");
{
// returns the version number of the module to be
// listed in /MODULES
- return Version(1,1,0,2,VF_COMMON|VF_VENDOR,API_VERSION);
+ return Version(1,2,0,2,VF_COMMON|VF_VENDOR,API_VERSION);
}
virtual void OnRehash(User* user, const std::string ¶meter)