summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 7678c747..38d564b8 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -2115,10 +2115,8 @@ class Core(object):
tab.add_message(msg, typ=2)
if code == '409':
if config.get('alternative_nickname') != '':
- self.command.join(
- '%s/%s' %
- (tab.name,
- tab.own_nick + config.get('alternative_nickname')))
+ tab.own_nick += config.get('alternative_nickname')
+ tab.join()
else:
if not tab.joined:
tab.add_message(