summaryrefslogtreecommitdiffstats
path: root/Reaktor/IRC/asybot.py
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-12-18 23:08:07 +0100
committermakefu <root@pigstarter.de>2013-12-18 23:08:07 +0100
commit0094250e65132614f3fbd9554d58c2f6220021b9 (patch)
tree14d065cd26ef183eaf09656a9c1093643c5813c7 /Reaktor/IRC/asybot.py
parent82deb81c8a147cfd5cd7e22e7f69b1a81e78c896 (diff)
Reaktor: irc_commands -> commands
Diffstat (limited to 'Reaktor/IRC/asybot.py')
-rwxr-xr-xReaktor/IRC/asybot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Reaktor/IRC/asybot.py b/Reaktor/IRC/asybot.py
index 38f0df11..0ac7a279 100755
--- a/Reaktor/IRC/asybot.py
+++ b/Reaktor/IRC/asybot.py
@@ -20,7 +20,7 @@ from re import split, search, match
from textwrap import TextWrapper
import logging,logging.handlers
-config_filename = 'config.py'
+config_filename = './config.py'
from getconf import make_getconf
getconf = make_getconf(config_filename)
@@ -129,7 +129,7 @@ class asybot(asychat):
def ME(text):
PRIVMSG(('ACTION ' + text + '').encode(encoding='UTF-8'))
- for command in getconf('irc_commands'):
+ for command in getconf('commands'):
y = match(command['pattern'], rest)
if y:
self.execute_command(command, y, prefix, PRIVMSG, ME)