diff options
author | makefu <github@syntax-fehler.de> | 2014-03-25 14:46:14 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2014-03-25 14:46:14 +0100 |
commit | 41170dbfd9bebfc591eb0988d6bfec62707d5982 (patch) | |
tree | c6f19bb9124a6d32db2291d88be0cbd8e351d398 | |
parent | 73660933bbc63dddd8056d956f86ca23c23c1632 (diff) |
Reaktor: answer to user on /query
-rwxr-xr-x | IRC/reaktor.py | 5 |
1 files changed, 5 insertions, 0 deletions
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: |