better formatting for server notices
This commit is contained in:
parent
1f2beef0f5
commit
5a0a340e44
1 changed files with 2 additions and 2 deletions
|
@ -157,9 +157,9 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
@utils.hook("received.server-notice")
|
||||
def server_notice(self, event):
|
||||
line = "(server notice) {MSG}"
|
||||
line = "-*{SOURCE}- {MSG}"
|
||||
self._event("server-notice", event["server"], line, None,
|
||||
formatting={"MSG": event["message"]})
|
||||
formatting={"MSG": event["message"], "SOURCE": event["source"]})
|
||||
|
||||
@utils.hook("received.invite")
|
||||
def invite(self, event):
|
||||
|
|
Loading…
Reference in a new issue