aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit481ab0216f9d877b8cb8bd70e8d0d024d0d86b7d (patch)
treeebc8bf9421a4d52ea889d5e0dd281413cc692869 /IRC/asybot.py
parent843c254b6b868b3b83f20fdfef4d620d4be83a8b (diff)
Reaktor: irc_commands -> commands
Diffstat (limited to 'IRC/asybot.py')
-rwxr-xr-xIRC/asybot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/IRC/asybot.py b/IRC/asybot.py
index 38f0df1..0ac7a27 100755
--- a/IRC/asybot.py
+++ b/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)