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 | 5d778bfb0fadd073e1e5ff324f00a2ea460ba843 (patch) | |
tree | 48935ae2572df332e66541097f2f3b27d0c4e16e | |
parent | 2d1b9414edc8aa57adbe9ac547292921936d874a (diff) |
Reaktor: answer to user on /query
-rwxr-xr-x | Reaktor/IRC/reaktor.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Reaktor/IRC/reaktor.py b/Reaktor/IRC/reaktor.py index 3fcedf60..7ef8d70d 100755 --- a/Reaktor/IRC/reaktor.py +++ b/Reaktor/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: |