summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/reaktor.py
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-04-25 12:52:05 +0200
committertv <tv@nomic.retiolum>2014-04-25 12:52:05 +0200
commit5efd6c0b11ce5b0ab3ec5975bfe6125af7eb6ea4 (patch)
tree8a82e362714359465c3e7e06a651a85b934ee03d /Reaktor/IRC/reaktor.py
parent3907535dd48b94b3edd5facde0245719f04effb2 (diff)
reaktor getconf: allow default_value
Diffstat (limited to 'Reaktor/IRC/reaktor.py')
-rwxr-xr-xReaktor/IRC/reaktor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reaktor/IRC/reaktor.py b/Reaktor/IRC/reaktor.py
index b53ef651..54091c5d 100755
--- a/Reaktor/IRC/reaktor.py
+++ b/Reaktor/IRC/reaktor.py
@@ -36,7 +36,7 @@ class Reaktor(asybot):
return False
def on_join(self, prefix, command, params, rest):
- for command in getconf('on_join'):
+ for command in getconf('on_join', []):
self.execute_command(command, None, prefix, params)
def on_privmsg(self, prefix, command, params, rest):