* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
* the file COPYING for details.
{
/* expire throttle */
throttled = 0;
- ServerInstance->SNO->WriteToSnoMask('A', "Connection throttle deactivated");
+ ServerInstance->SNO->WriteGlobalSno('a', "Connection throttle deactivated");
return 0;
}
if (conns >= maxconns)
{
throttled = 1;
- ServerInstance->SNO->WriteToSnoMask('A', "Connection throttle activated");
+ ServerInstance->SNO->WriteGlobalSno('a', "Connection throttle activated");
ServerInstance->Users->QuitUser(user, quitmsg);
return 1;
}
return 0;
}
- virtual void OnRehash(User* user, const std::string ¶meter)
+ virtual void OnRehash(User* user)
{
InitConf();
}