Mercurial > libervia-backend
diff src/plugins/plugin_misc_tarot.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 | 5fc5e6a7e5c3 |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_tarot.py Sun Feb 06 23:46:48 2011 +0100 +++ b/src/plugins/plugin_misc_tarot.py Sun Feb 06 23:49:27 2011 +0100 @@ -50,7 +50,7 @@ "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 @@ 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