From 41170dbfd9bebfc591eb0988d6bfec62707d5982 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 25 Mar 2014 14:46:14 +0100 Subject: Reaktor: answer to user on /query --- IRC/reaktor.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'IRC') diff --git a/IRC/reaktor.py b/IRC/reaktor.py index 3fcedf6..7ef8d70 100755 --- a/IRC/reaktor.py +++ b/IRC/reaktor.py @@ -44,6 +44,11 @@ class Reaktor(asybot): env = {} env['_from'] = prefix.split('!', 1)[0] + log.debug('self:' +self.nickname) + if self.nickname in target: + target.remove(self.nickname) + target.append(env['_from']) + log.debug('target:' +str(target)) env['config_filename'] = os.path.abspath(config_filename) start = time() try: -- cgit v1.2.3