diff options
-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: |