summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-24 17:02:46 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-24 17:02:46 +0100
commitf9cf0ac76de680f1ccc32453083bd0d42d2599eb (patch)
treeba67db377769dbdd8c3accefcd9a6321916c5255
parent33421513c9374fab69cb876a032bc0e27bc18922 (diff)
downloadpoezio-f9cf0ac76de680f1ccc32453083bd0d42d2599eb.tar.gz
poezio-f9cf0ac76de680f1ccc32453083bd0d42d2599eb.tar.bz2
poezio-f9cf0ac76de680f1ccc32453083bd0d42d2599eb.tar.xz
poezio-f9cf0ac76de680f1ccc32453083bd0d42d2599eb.zip
/status also changes your presence in MUCs
-rw-r--r--src/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 381ff8ab..84509e60 100644
--- a/src/core.py
+++ b/src/core.py
@@ -56,7 +56,7 @@ from keyboard import read_char
# http://xmpp.org/extensions/xep-0045.html#errorstatus
ERROR_AND_STATUS_CODES = {
'401': _('A password is required'),
- '403': _('You are banned from the room'),
+ '403': _('Permission denied'),
'404': _('The room does\'nt exist'),
'405': _('Your are not allowed to create a new room'),
'406': _('A reserved nick must be used'),
@@ -1025,6 +1025,7 @@ class Core(object):
pres['status'] = msg
pres['type'] = show
pres.send()
+ self.command_show(arg)
def command_list(self, arg):
"""