Do not use the /join interface on nickname conflict

Therefore do not add bookmarks while doing this, it is wrong.
This commit is contained in:
mathieui 2017-11-28 22:29:37 +01:00
parent a9008d3836
commit 1a1164b9b1
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -2115,10 +2115,8 @@ class Core(object):
tab.add_message(msg, typ=2) tab.add_message(msg, typ=2)
if code == '409': if code == '409':
if config.get('alternative_nickname') != '': if config.get('alternative_nickname') != '':
self.command.join( tab.own_nick += config.get('alternative_nickname')
'%s/%s' % tab.join()
(tab.name,
tab.own_nick + config.get('alternative_nickname')))
else: else:
if not tab.joined: if not tab.joined:
tab.add_message( tab.add_message(