diff options
| author | 2019-05-22 14:26:22 +0100 | |
|---|---|---|
| committer | 2019-05-22 14:26:22 +0100 | |
| commit | 5ab4c6cbffcc0527e22c25757dbb629c44d182c0 (patch) | |
| tree | a89cb47aa522b930478b538453cda16077231765 /modules | |
| parent | Check if a PRIVMSG/NOTICE is send *from* us before we check if it's sent *to* us (diff) | |
| signature | ||
`target_str` is BitBot's own nickname for private messages
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/commands/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/__init__.py b/modules/commands/__init__.py index f007e3c8..34a4188d 100644 --- a/modules/commands/__init__.py +++ b/modules/commands/__init__.py @@ -267,7 +267,7 @@ class Module(ModuleManager.BaseModule): if hook: self.command(event["server"], event["user"], - event["target_str"], False, event["user"], command, + event["user"].nickname, False, event["user"], command, args_split, event["tags"], hook) event["user"].buffer.skip_next() |
