Add 375 data to server.motd_lines

This commit is contained in:
jesopo 2018-11-14 08:22:21 +00:00
parent 00eb4027ec
commit 775177a7ff

View file

@ -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):