core (plugins): added missing contants + use of new constants in PLUGIN_INFO

This commit is contained in:
Goffi 2017-02-12 18:59:10 +01:00
commit ac7d587c49

View file

@ -37,14 +37,14 @@ except ImportError:
_DEBUG = False
PLUGIN_INFO = {
"name": "Room game",
"import_name": "ROOM-GAME",
"type": "MISC",
"protocols": [],
"dependencies": ["XEP-0045", "XEP-0249"],
"main": "RoomGame",
"handler": "no", # handler MUST be "no" (dynamic inheritance)
"description": _("""Base class for MUC games""")
C.PI_NAME: "Room game",
C.PI_IMPORT_NAME: "ROOM-GAME",
C.PI_TYPE: "MISC",
C.PI_PROTOCOLS: [],
C.PI_DEPENDENCIES: ["XEP-0045", "XEP-0249"],
C.PI_MAIN: "RoomGame",
C.PI_HANDLER: "no", # handler MUST be "no" (dynamic inheritance)
C.PI_DESCRIPTION: _("""Base class for MUC games""")
}