changeset 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 40ad5a344332
children 0d1a17375bf5
files src/plugins/plugin_xep_0085.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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):
         """