aboutsummaryrefslogtreecommitdiff
path: root/modules/commands.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-05-06 13:36:01 +0100
committerGravatar jesopo2016-05-06 13:36:01 +0100
commit5338859e31068d83cf3c83dfc860c646c1ed42e8 (patch)
tree4a171d106795ef74f89aa2cf597bcb3904110ab3 /modules/commands.py
parentadded wikipedia.py. (diff)
added a function to Utils to get the "closest" setting, with channel/user settings being more important than server-wide settings.
Diffstat (limited to 'modules/commands.py')
-rw-r--r--modules/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py
index 3c22a6d1..bf5781d7 100644
--- a/modules/commands.py
+++ b/modules/commands.py
@@ -128,7 +128,7 @@ class Module(object):
self.bot.events.on("received").on("command").on(command).call(
1, user=user, server=server, target=target, log=log,
args=args, args_split=args_split, stdout=stdout, stderr=stderr,
- command=command.lower())
+ command=command.lower(), is_channel=is_channel)
stdout.send()
target.last_stdout = stdout
stderr.send()