aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_op.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/channel_op.py')
-rw-r--r--modules/channel_op.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index a7070ba1..e789b4c4 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -101,7 +101,7 @@ class Module(ModuleManager.BaseModule):
hostmask = self._ban_user(event["target"], True,
event["server"].get_user(event["args_split"][0]))
- self.bot.timers.add_persistent("unban", timeout,
+ self.timers.add_persistent("unban", timeout,
server_id=event["server"].id,
channel_name=event["target"].name, hostmask=hostmask)