Tidy up logic to figure out of a NOTICE is a AUTH notice (line_handler.py)
This commit is contained in:
parent
f5f5a55e21
commit
172acfd0d5
1 changed files with 4 additions and 3 deletions
|
@ -469,10 +469,11 @@ class Module(ModuleManager.BaseModule):
|
|||
message_split = message.split(" ")
|
||||
target = event["args"][0]
|
||||
|
||||
if "prefix" in event and (not event["prefix"] or
|
||||
if "prefix" in event and (
|
||||
not event["prefix"] or
|
||||
not event["server"].name or
|
||||
event["prefix"].hostmask == event["server"].name or
|
||||
target == "*" or
|
||||
(not event["prefix"].hostname and not event["server"].name)):
|
||||
target == "*" or):
|
||||
if event["prefix"]:
|
||||
event["server"].name = event["prefix"].hostmask
|
||||
|
||||
|
|
Loading…
Reference in a new issue