* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
* E-mail:
* <brain@chatspike.net>
* <Craig@chatspike.net>
public:
cmd_tban () : command_t("TBAN", 0, 3)
{
- this->source = "m_timedbans.cpp";
+ this->source = "m_timedbans.so";
}
void Handle (char **parameters, int pcnt, userrec *user)
TimedBanList.clear();
}
+ void Implements(char* List)
+ {
+ List[I_OnDelBan] = List[I_OnBackgroundTimer] = 1;
+ }
+
virtual int OnDelBan(userrec* source, chanrec* chan, std::string banmask)
{
for (timedbans::iterator i = TimedBanList.begin(); i < TimedBanList.end(); i++)