diff src/plugins/plugin_xep_0100.py @ 291:7c79d4a8c9e6

plugins: fixed bad import names
author Goffi <goffi@goffi.org>
date Sun, 06 Feb 2011 23:49:27 +0100
parents b1794cbb88e5
children f964dcec1611
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0100.py	Sun Feb 06 23:46:48 2011 +0100
+++ b/src/plugins/plugin_xep_0100.py	Sun Feb 06 23:49:27 2011 +0100
@@ -30,10 +30,10 @@
 
 PLUGIN_INFO = {
 "name": "Gateways Plugin",
-"import_name": "XEP_0100",
+"import_name": "XEP-0100",
 "type": "XEP",
 "protocols": ["XEP-0100"],
-"dependencies": ["XEP_0077"],
+"dependencies": ["XEP-0077"],
 "main": "XEP_0100",
 "description": _("""Implementation of Gateways protocol""")
 }
@@ -110,8 +110,8 @@
         profile = self.host.memory.getProfileName(profile_key)
         assert(profile) #FIXME: return an error here
         if action == 'SUBMIT':
-            self.host.plugins["XEP_0077"].addTrigger(target, self.registrationSuccessful, profile)
-        return self.host.plugins["XEP_0077"].in_band_submit(action, target, fields, profile)
+            self.host.plugins["XEP-0077"].addTrigger(target, self.registrationSuccessful, profile)
+        return self.host.plugins["XEP-0077"].in_band_submit(action, target, fields, profile)
 
     def findGateways(self, target, profile_key='@DEFAULT@'):
         """Find gateways in the target JID, using discovery protocol