From 8adeb33fa140155260dc7d65ad4b03027e9c9eef Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Thu, 25 Aug 2005 14:07:17 +0000 Subject: [PATCH] fixed tb on server connect --- src/common/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 14df2701c..9f7072bf9 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -354,8 +354,8 @@ class Connection: errmsg = prs.getError() errcode = prs.getErrorCode() if errcode == '409': #conflict: Nick Conflict - self.dispatch('ERROR', _('Unable to join room'), - _('Server response:') + '\n' + errmsg) + self.dispatch('ERROR', (_('Unable to join room'), + _('Server response:') + '\n' + errmsg)) elif errcode == '502': # Internal Timeout: self.dispatch('NOTIFY', (prs.getFrom().getStripped().encode('utf8'), 'error', errmsg, prs.getFrom().getResource().encode('utf8'),