Handle prefix
being null when we've received a server notice (line_handler.py)
This commit is contained in:
parent
3b17cbacea
commit
1e72c39fda
1 changed files with 2 additions and 1 deletions
|
@ -464,6 +464,7 @@ class Module(ModuleManager.BaseModule):
|
|||
event["prefix"].hostmask == event["server"].name or
|
||||
target == "*" or
|
||||
(not event["prefix"].hostname and not event["server"].name)):
|
||||
if event["prefix"]:
|
||||
event["server"].name = event["prefix"].hostmask
|
||||
|
||||
self._event(event, "server-notice", message=message,
|
||||
|
|
Loading…
Reference in a new issue