aboutsummaryrefslogtreecommitdiffstats
path: root/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
commite957c40e5ad65c3088454ef0463d7ae42452196b (patch)
treedd09441cd971c854ba4e3a4f35458394ade46be3 /IRC/reaktor.py
parentd7bdbaaa1659289be2b07a532f98058ecba32916 (diff)
reaktor getconf: allow default_value
Diffstat (limited to 'IRC/reaktor.py')
-rwxr-xr-xIRC/reaktor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/IRC/reaktor.py b/IRC/reaktor.py
index b53ef65..54091c5 100755
--- a/IRC/reaktor.py
+++ b/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):