summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-10-11 23:04:40 +0200
committermathieui <mathieui@mathieui.net>2011-10-11 23:04:40 +0200
commit14702b1806d9707524920416c6fc02b694bed10a (patch)
tree09a5a3fb6af9d07c694eec9ba14d59393db4ac5d
parent2479201b306b73aec00d1968b47fc2014d6faa44 (diff)
downloadpoezio-14702b1806d9707524920416c6fc02b694bed10a.tar.gz
poezio-14702b1806d9707524920416c6fc02b694bed10a.tar.bz2
poezio-14702b1806d9707524920416c6fc02b694bed10a.tar.xz
poezio-14702b1806d9707524920416c6fc02b694bed10a.zip
Fixed some typos
-rw-r--r--src/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 9f36b78a..8abaec63 100644
--- a/src/core.py
+++ b/src/core.py
@@ -281,7 +281,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")
@@ -1036,7 +1036,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\