diff plugins/plugin_xep_0077.py @ 101:783e9d6980ec

Couchsurfing plugin: first draft SàT core: adding additionnal menu method bridge: new methods getMenus, getMenuHelp and callMenu wix: new menu are added on startup CS plugin: login on CS
author Goffi <goffi@goffi.org>
date Sat, 19 Jun 2010 17:15:30 +0800
parents 86f1f7f6d332
children 94011f553cd0
line wrap: on
line diff
--- a/plugins/plugin_xep_0077.py	Fri Jun 18 17:14:14 2010 +0800
+++ b/plugins/plugin_xep_0077.py	Sat Jun 19 17:15:30 2010 +0800
@@ -61,7 +61,6 @@
         except IndexError:
             info(_("No data form found"))
             #TODO: manage registration without data form
-            answer_data = {}
             answer_data={"reason": "unmanaged", "message":_("This gateway can't be managed by SàT, sorry :(")}
             answer_type = "ERROR"
             self.host.bridge.actionResult(answer_type, answer['id'], answer_data)