summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-18 19:42:04 +0200
committermathieui <mathieui@mathieui.net>2012-04-18 19:42:04 +0200
commit37e3c1ea299c6e27302ab8009f977b90a80d7671 (patch)
treef5494f5dca45c51299e666d61e7782f06393b361 /src
parent25a9a36201cf1e00fc5ece9a39ec2a9a57ced6b3 (diff)
downloadpoezio-37e3c1ea299c6e27302ab8009f977b90a80d7671.tar.gz
poezio-37e3c1ea299c6e27302ab8009f977b90a80d7671.tar.bz2
poezio-37e3c1ea299c6e27302ab8009f977b90a80d7671.tar.xz
poezio-37e3c1ea299c6e27302ab8009f977b90a80d7671.zip
Fix a small mistake
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 66af43b5..32186898 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -703,7 +703,7 @@ class MucTab(ChatTab):
/info <nick>
"""
if not arg:
- return self.command_help('info')
+ return self.core.command_help('info')
user = self.get_user_by_name(arg)
if not user:
return self.core.information("Unknown user: %s" % arg)
@@ -782,7 +782,7 @@ class MucTab(ChatTab):
self.core.information(version, 'Info')
if not arg:
- return self.command_help('version')
+ return self.core.command_help('version')
if arg in [user.nick for user in self.users]:
jid = JID(self.name)
jid.resource = arg
@@ -795,7 +795,7 @@ class MucTab(ChatTab):
/nick <nickname>
"""
if not arg:
- return self.command_help('nick')
+ return self.core.command_help('nick')
nick = arg
if not self.joined:
return self.core.information('/nick only works in joined rooms', 'Info')
@@ -1820,7 +1820,7 @@ class RosterInfoTab(Tab):
"""
args = common.shell_split(arg)
if not args:
- return self.command_help('name')
+ return self.core.command_help('name')
jid = JID(args[0]).bare
name = args[1] if len(args) == 2 else ''