Add 375 data to server.motd_lines
This commit is contained in:
parent
00eb4027ec
commit
775177a7ff
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("raw.375")
|
||||
def motd_start(self, event):
|
||||
event["server"].motd_lines.clear()
|
||||
event["server"].motd_lines.append(event["args"][1])
|
||||
|
||||
@utils.hook("raw.372")
|
||||
def motd_line(self, event):
|
||||
|
|
Loading…
Reference in a new issue