diff src/plugins/plugin_misc_text_commands.py @ 2152:6a004a22dd9e

plugins XEP-0033, XEP-0280, text commands: fixed method renaming after client refactoring
author Goffi <goffi@goffi.org>
date Mon, 13 Feb 2017 20:59:09 +0100
parents 33c8c4973743
children 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_commands.py	Sun Feb 12 21:17:56 2017 +0100
+++ b/src/plugins/plugin_misc_text_commands.py	Mon Feb 13 20:59:09 2017 +0100
@@ -290,7 +290,7 @@
         mess_data["type"] = C.MESS_TYPE_INFO
         mess_data["message"] = {'': message}
         mess_data["extra"]["info_type"] = info_type
-        self.host.sendMessageToBridge(mess_data, client)
+        client.messageSendToBridge(mess_data)
 
     def cmd_whois(self, client, mess_data):
         """show informations on entity