jp (base): fixed assertion error when using CommandAnswering
This commit is contained in:
parent
368571ea24
commit
9ab577462d
1 changed files with 4 additions and 0 deletions
|
|
@ -874,6 +874,10 @@ class CommandAnswering(CommandBase):
|
|||
# which will manage the answer. profile filtering is
|
||||
# already managed when callback is called
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CommandAnswering, self).__init__(*args, **kwargs)
|
||||
self.need_loop = True
|
||||
|
||||
def onActionNew(self, action_data, action_id, security_limit, profile):
|
||||
if profile != self.profile:
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue