aboutsummaryrefslogtreecommitdiffstats
path: root/reaktor/core.py
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-09-16 18:19:37 +0200
committerlassulus <lassulus@lassul.us>2018-09-16 18:19:37 +0200
commit208d6f21fb1da65aa6ac2598ba555d4ef80627ca (patch)
tree02ef01ea019e5091dc092fdf36ce828c7e6d6b3e /reaktor/core.py
parent04bc3ffcf11a672f13c0c8f502d664e16c2a085c (diff)
add nickserv password identification
Diffstat (limited to 'reaktor/core.py')
-rwxr-xr-xreaktor/core.py19
1 files changed, 11 insertions, 8 deletions
diff --git a/reaktor/core.py b/reaktor/core.py
index 7a2272c..fce49ff 100755
--- a/reaktor/core.py
+++ b/reaktor/core.py
@@ -37,14 +37,17 @@ class Reaktor(asybot):
self.getconf = getconf
log.info("using config file %s" % (config))
- 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'))
+ 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'),
+ nickserv_password=getconf('nickserv_password'),
+ )
def is_admin(self, prefix):
try: