diff src/plugins/plugin_xep_0085.py @ 868:967b94ef821e

plugin XEP-0085: fixed bad trigger return value
author Goffi <goffi@goffi.org>
date Tue, 25 Feb 2014 23:03:17 +0100
parents 1fe00f0c9a91
children 2ef523f0b5c3
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0085.py	Tue Feb 25 23:03:17 2014 +0100
+++ b/src/plugins/plugin_xep_0085.py	Tue Feb 25 23:03:17 2014 +0100
@@ -134,6 +134,9 @@
         """
         if (category, name) == (PARAM_KEY, PARAM_NAME):
             self.updateEntityData("@ALL@", True if value == "true" else "@NONE@", profile)
+            return False
+        return True
+
 
     def messageReceivedTrigger(self, message, post_treat, profile):
         """