summaryrefslogtreecommitdiffstats
path: root/Reaktor
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-03-25 14:46:14 +0100
committermakefu <github@syntax-fehler.de>2014-03-25 14:46:14 +0100
commit5d778bfb0fadd073e1e5ff324f00a2ea460ba843 (patch)
tree48935ae2572df332e66541097f2f3b27d0c4e16e /Reaktor
parent2d1b9414edc8aa57adbe9ac547292921936d874a (diff)
Reaktor: answer to user on /query
Diffstat (limited to 'Reaktor')
-rwxr-xr-xReaktor/IRC/reaktor.py5
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: