summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/reaktor.py
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/IRC/reaktor.py')
-rw-r--r--Reaktor/IRC/reaktor.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Reaktor/IRC/reaktor.py b/Reaktor/IRC/reaktor.py
index 706d2c83..990d47e5 100644
--- a/Reaktor/IRC/reaktor.py
+++ b/Reaktor/IRC/reaktor.py
@@ -20,8 +20,7 @@ logging.basicConfig(level = logging.DEBUG if getconf('debug') else logging.INFO)
class Reaktor(asybot):
def __init__(self):
- nick = getconf('irc_nickname')
- asybot.__init__(self, getconf('irc_server'), getconf('irc_port'), getconf('irc_channels'), nick, nick, nick, nick, nick, getconf('irc_hammer_interval'), getconf('irc_alarm_timeout'), getconf('irc_kill_timeout'))
+ asybot.__init__(self, getconf('irc_server'), getconf('irc_port'), getconf('irc_nickname'), getconf('irc_channels'), hammer_interval=getconf('irc_hammer_interval'), alarm_timeout=getconf('irc_alarm_timeout'), kill_timeout=getconf('irc_kill_timeout'))
def on_privmsg(self, prefix, command, params, rest):
for command in getconf('commands'):