summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index b39bf904..1fb06b38 100644
--- a/src/core.py
+++ b/src/core.py
@@ -350,7 +350,7 @@ class Core(object):
"""
When a data form is received
"""
- self.information('%s' % messsage)
+ self.information('%s' % message)
def on_chatstate_active(self, message):
self.on_chatstate(message, "active")
@@ -1105,7 +1105,7 @@ class Core(object):
nick_from = message['mucnick']
room_from = message.getMucroom()
if message['type'] == 'error': # Check if it's an error
- return self.room_error(message, from_room)
+ return self.room_error(message, room_from)
room = self.get_room_by_name(room_from)
tab = self.get_tab_by_name(room_from, tabs.MucTab)
if tab and tab.get_room() and tab.get_room().get_user_by_name(nick_from) and\
@@ -1360,7 +1360,7 @@ class Core(object):
"""
/join [room][/nick] [password]
"""
- args = arg.split()
+ args = common.shell_split(arg)
password = None
if len(args) == 0:
t = self.current_tab()