diff options
author | mathieui <mathieui@mathieui.net> | 2013-03-08 22:53:35 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-03-08 22:53:35 +0100 |
commit | 9885203c6799c121f5bc8a733dc1937fe8c1b4d6 (patch) | |
tree | 4190635a7c9c78d2dce1a4c8357ccb887f12b8af /plugins/iq_show.py | |
parent | dbde08a5267cf003d8a4a9c16f5b18275e9a4bd1 (diff) | |
download | poezio-9885203c6799c121f5bc8a733dc1937fe8c1b4d6.tar.gz poezio-9885203c6799c121f5bc8a733dc1937fe8c1b4d6.tar.bz2 poezio-9885203c6799c121f5bc8a733dc1937fe8c1b4d6.tar.xz poezio-9885203c6799c121f5bc8a733dc1937fe8c1b4d6.zip |
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
Diffstat (limited to 'plugins/iq_show.py')
-rw-r--r-- | plugins/iq_show.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/iq_show.py b/plugins/iq_show.py index 77d50d6c..06d06d8e 100644 --- a/plugins/iq_show.py +++ b/plugins/iq_show.py @@ -7,7 +7,7 @@ class Plugin(BasePlugin): self.core.xmpp.register_handler(Callback('Iq_show', StanzaPath('iq'), self.handle_iq)) def handle_iq(self, iq): - self.core.information('%s' % iq, 'Iq') + self.api.information('%s' % iq, 'Iq') def cleanup(self): self.core.xmpp.remove_handler('Iq_show') |