only call internal.identified when an account tag is first seen
closes #249
This commit is contained in:
parent
5608c1cdc7
commit
d39babf0b5
1 changed files with 3 additions and 2 deletions
|
@ -116,6 +116,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.kwarg("priority", EventManager.PRIORITY_HIGH)
|
@utils.kwarg("priority", EventManager.PRIORITY_HIGH)
|
||||||
def account_tag(self, event):
|
def account_tag(self, event):
|
||||||
account = ACCOUNT_TAG.get_value(event["line"].tags)
|
account = ACCOUNT_TAG.get_value(event["line"].tags)
|
||||||
|
if not self._is_identified(event["user"]):
|
||||||
if not account == None:
|
if not account == None:
|
||||||
self._has_identified(event["server"], event["user"], account)
|
self._has_identified(event["server"], event["user"], account)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue