diff options
| author | 2016-04-04 23:20:55 +0100 | |
|---|---|---|
| committer | 2016-04-04 23:20:55 +0100 | |
| commit | f9ce711b25b6ca1ea0671266a90b22a9e4d0cfef (patch) | |
| tree | fce761e1de4019fdddd328196279c92a69e3986e | |
| parent | added a missing config option to bot.json.example. (diff) | |
oops
| -rw-r--r-- | modules/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands.py b/modules/commands.py index db80c289..1e376450 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -86,7 +86,7 @@ class Module(object): target = event["user"] if not is_channel and hook.kwargs.get("channel_only"): return - if is_channel and hooks.kwargs.get("private_only"): + if is_channel and hook.kwargs.get("private_only"): return log = target.log |
