renamed tools.misc to tools.trigger
This commit is contained in:
parent
66230e2156
commit
76065758df
1 changed files with 13 additions and 13 deletions
|
|
@ -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 """
|
||||
|
|
|
|||
Loading…
Reference in a new issue