From 7e7556f06445d4d8e607ef514c9fb5009899db73 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 30 Mar 2013 23:38:40 -0500 Subject: Merge usefulness of Timer and CallBack classes into Timer, and fix it to really work --- modules/commands/cs_ban.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/cs_ban.cpp') diff --git a/modules/commands/cs_ban.cpp b/modules/commands/cs_ban.cpp index c39f7f392..52c372fb4 100644 --- a/modules/commands/cs_ban.cpp +++ b/modules/commands/cs_ban.cpp @@ -15,14 +15,14 @@ static Module *me; -class TempBan : public CallBack +class TempBan : public Timer { private: Anope::string channel; Anope::string mask; public: - TempBan(time_t seconds, Channel *c, const Anope::string &banmask) : CallBack(me, seconds), channel(c->name), mask(banmask) { } + TempBan(time_t seconds, Channel *c, const Anope::string &banmask) : Timer(me, seconds), channel(c->name), mask(banmask) { } void Tick(time_t ctime) anope_override { -- cgit