plugins: fixed bad import names
This commit is contained in:
parent
2fb4a452bb
commit
27274bfda0
1 changed files with 16 additions and 16 deletions
|
|
@ -50,7 +50,7 @@ PLUGIN_INFO = {
|
|||
"import_name": "Tarot",
|
||||
"type": "Misc",
|
||||
"protocols": [],
|
||||
"dependencies": ["XEP_0045"],
|
||||
"dependencies": ["XEP-0045"],
|
||||
"main": "Tarot",
|
||||
"handler": "yes",
|
||||
"description": _("""Implementation of Tarot card game""")
|
||||
|
|
@ -408,7 +408,7 @@ class Tarot():
|
|||
if self.games.has_key(room_jid):
|
||||
warning (_("Tarot game already started in room %s") % room_jid.userhost())
|
||||
else:
|
||||
room_nick = self.host.plugins["XEP_0045"].getRoomNick(room_jid.userhost(), profile)
|
||||
room_nick = self.host.plugins["XEP-0045"].getRoomNick(room_jid.userhost(), profile)
|
||||
if not room_nick:
|
||||
error ('Internal error')
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue