Handle pre-register server NOTICES like :server NOTICE Auth :text
This commit is contained in:
parent
b7dda02951
commit
7331443631
1 changed files with 2 additions and 1 deletions
|
@ -438,7 +438,8 @@ class LineHandler(object):
|
|||
target = event["args"][0]
|
||||
|
||||
if not event["prefix"] or event["prefix"].hostmask == event["server"
|
||||
].name or target == "*":
|
||||
].name or target == "*" or (not event["prefix"].hostname and
|
||||
not event["server"].name):
|
||||
event["server"].name = event["prefix"].hostmask
|
||||
|
||||
self.events.on("received.server-notice").call(
|
||||
|
|
Loading…
Reference in a new issue