summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index ba07abb8..833f2848 100644
--- a/src/core.py
+++ b/src/core.py
@@ -755,7 +755,7 @@ class Core(object):
if isinstance(tab, tabs.PrivateTab):
if tab.get_name() == complete_jid:
self.command_win('%s' % tab.nb)
- return tag.get_room()
+ return tab.get_room()
# create the new tab
room = self.get_room_by_name(room_name)
if not room: