don't overwrite line
in MOTD formatting
This commit is contained in:
parent
50be75a5e2
commit
fbe4c93c58
1 changed files with 2 additions and 2 deletions
|
@ -248,7 +248,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("received.376")
|
||||
def motd_end(self, event):
|
||||
for line in event["server"].motd_lines:
|
||||
for motd_line in event["server"].motd_lines:
|
||||
line = "[MOTD] {LINE}"
|
||||
self._event("motd", event["server"], line, None,
|
||||
formatting={"LINE": line})
|
||||
formatting={"LINE": motd_line})
|
||||
|
|
Loading…
Reference in a new issue