target_str is BitBot's own nickname for private messages

This commit is contained in:
jesopo 2019-05-22 14:26:22 +01:00
parent e3d8063373
commit 5ab4c6cbff

View file

@ -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()