Do not raise useless RuntimeError. Fixes #2376.

This commit is contained in:
Jean-Marie Traissard 2006-09-02 01:00:22 +00:00
parent 8af50e298f
commit 8945d21345
1 changed files with 1 additions and 1 deletions

View File

@ -1042,7 +1042,7 @@ class JoinGroupchatWindow:
jid = room + '@' + server
if jid in gajim.gc_connected[account] and gajim.gc_connected[account][jid]:
ErrorDialog(_('You are already in room %s') % jid)
raise RuntimeError, 'You are already in this room'
return
self.account = account
self.automatic = automatic
if nick == '':