Commit 283eb2b1 authored by Mindiell's avatar Mindiell

#35: fix the call to LoopingCall

parent 322808e9
......@@ -38,7 +38,7 @@ class Wantzel(object):
self.irc.set_privmsg = self.set_privmsg
reactor.connectTCP(config.server, config.port, self.irc)
# Loop call
self.loop = reactor.LoopingCall(self.timer)
self.loop = task.LoopingCall(self.timer)
self.loop.start(config.timer)
def timer(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment