diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.py | 5 | ||||
-rw-r--r-- | src/gui.py | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/connection.py b/src/connection.py index e20aaab5..d7b1ac6a 100644 --- a/src/connection.py +++ b/src/connection.py @@ -102,10 +102,7 @@ class Connection(threading.Thread): self.client.auth(None, "", self.resource) return True except TypeError: - self.handler.emit('error', msg=_('Error: Could not \ - authenticate. Please make sure the server you chose \ - (%s) supports anonymous authentication' - % (config.get('server', '')))) + self.handler.emit('error', msg=_('Error: Could not authenticate. Please make sure the server you chose (%s) supports anonymous authentication' % (config.get('server', '')))) return False else: password = config.get('password', '') @@ -507,7 +507,7 @@ class Gui(object): self.window.input.refresh() if line == "": return - if line.startswith('/'): + if line.startswith('/') and not line.startswith('/me '): command = line.strip()[:].split()[0][1:] args = line.strip()[:].split()[1:] if command in self.commands.keys(): |