Mercurial > libervia-backend
diff src/plugins/plugin_exp_parrot.py @ 1374:0befb14ecf62
renamed tools.misc to tools.trigger
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Mar 2015 19:44:37 +0100 |
parents | bf3f669a6052 |
children | 069ad98b360d |
line wrap: on
line diff
--- a/src/plugins/plugin_exp_parrot.py Thu Mar 19 14:41:15 2015 +0100 +++ b/src/plugins/plugin_exp_parrot.py Thu Mar 19 19:44:37 2015 +0100 @@ -24,7 +24,7 @@ from twisted.words.protocols.jabber import jid from sat.core.exceptions import UnknownEntityError -#from sat.tools.misc import SkipOtherTriggers +#from sat.tools import trigger PLUGIN_INFO = { "name": "Parrot Plugin", @@ -66,7 +66,7 @@ # # if mess_data['to'].userhostJID() in _links.values(): # log.debug("Parrot link detected, skipping other triggers") - # raise SkipOtherTriggers + # raise trigger.SkipOtherTriggers def MessageReceivedTrigger(self, message, post_treat, profile): """ Check if source is linked and repeat message, else do nothing """