comparison src/plugins/plugin_exp_parrot.py @ 588:beaf6bec2fcd

Remove every old-style class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents 952322b1d490
children e629371a28d3
comparison
equal deleted inserted replaced
587:952322b1d490 588:beaf6bec2fcd
35 "main": "Exp_Parrot", 35 "main": "Exp_Parrot",
36 "handler": "no", 36 "handler": "no",
37 "description": _("""Implementation of parrot mode (repeat messages between 2 entities)""") 37 "description": _("""Implementation of parrot mode (repeat messages between 2 entities)""")
38 } 38 }
39 39
40 class Exp_Parrot(): 40 class Exp_Parrot(object):
41 """Parrot mode plugin: repeat messages from one entity or MUC room to another one""" 41 """Parrot mode plugin: repeat messages from one entity or MUC room to another one"""
42 #XXX: This plugin can be potentially dangerous if we don't trust entities linked 42 #XXX: This plugin can be potentially dangerous if we don't trust entities linked
43 # this is specially true if we have other triggers. 43 # this is specially true if we have other triggers.
44 # sendMessageTrigger avoid other triggers execution, it's deactivated to allow 44 # sendMessageTrigger avoid other triggers execution, it's deactivated to allow
45 # /unparrot command in text commands plugin. 45 # /unparrot command in text commands plugin.