From 9885203c6799c121f5bc8a733dc1937fe8c1b4d6 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 8 Mar 2013 22:53:35 +0100 Subject: Update the plugins to use the PluginAPI Also: - Add get_conversation_messages() to PluginAPI - Make plugins_autoload colon-separated instead of space-separated (for consistency) - Replace a JID() with a safeJID() in the uptime plugin --- plugins/amsg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/amsg.py') diff --git a/plugins/amsg.py b/plugins/amsg.py index a002b11e..57a37255 100644 --- a/plugins/amsg.py +++ b/plugins/amsg.py @@ -5,7 +5,7 @@ from tabs import MucTab class Plugin(BasePlugin): def init(self): - self.add_command('amsg', self.command_amsg, + self.api.add_command('amsg', self.command_amsg, usage='', short='Broadcast a message', help='Broadcast the message to all the joined rooms.') -- cgit v1.2.3