From 5ab4c6cbffcc0527e22c25757dbb629c44d182c0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 22 May 2019 14:26:22 +0100 Subject: [PATCH] `target_str` is BitBot's own nickname for private messages --- modules/commands/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()