renamed tools.misc to tools.trigger

This commit is contained in:
Goffi 2015-03-19 19:44:37 +01:00
commit 76065758df

View file

@ -24,7 +24,7 @@ log = getLogger(__name__)
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 @@ class Exp_Parrot(object):
#
# 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 """