From 37e3c1ea299c6e27302ab8009f977b90a80d7671 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 18 Apr 2012 19:42:04 +0200 Subject: Fix a small mistake --- src/tabs.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 """ 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 """ 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 '' -- cgit v1.2.3