aboutsummaryrefslogtreecommitdiffstats
path: root/IRC
diff options
context:
space:
mode:
Diffstat (limited to 'IRC')
-rwxr-xr-xIRC/asybot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/IRC/asybot.py b/IRC/asybot.py
index 08cba0e..8367b19 100755
--- a/IRC/asybot.py
+++ b/IRC/asybot.py
@@ -146,8 +146,7 @@ class asybot(asychat):
#TODO: allow only commands below ./commands/
exe = join(dirname(realpath(dirname(__file__))), command['argv'][0])
myargv = [exe] + command['argv'][1:]
- print(match.groupdict())
- if 'args' in match.groupdict():
+ if match.groupdict().get('args',None):
myargv += shlex.split(match.groupdict()['args'])
env = {}