aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-22 14:26:22 +0100
committerGravatar jesopo2019-05-22 14:26:22 +0100
commit5ab4c6cbffcc0527e22c25757dbb629c44d182c0 (patch)
treea89cb47aa522b930478b538453cda16077231765 /modules
parentCheck 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__.py2
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()