diff options
| author | 2016-04-18 16:48:36 +0100 | |
|---|---|---|
| committer | 2016-04-18 16:48:36 +0100 | |
| commit | 2d729b68c3f1d52608257742b0136bc4be1b1ea4 (patch) | |
| tree | de4757a1acffcf078b754fd5445917a8c5bce775 | |
| parent | added a socket timeout to IRCServer socket objects. (diff) | |
started passing some more helpful info when preprocessing a command.
| -rw-r--r-- | modules/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py index 5e0456f5..3c22a6d1 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -105,7 +105,8 @@ class Module(object): target) returns = self.bot.events.on("preprocess").on("command" - ).call(hook=hook, user=event["user"], server=event["server"]) + ).call(hook=hook, user=event["user"], server=event["server"], + target=target, is_channel=is_channel) for returned in returns: if returned: stderr.write(returned).send() |
