colourise server name for server notice formatting
This commit is contained in:
parent
d7c18a9a2e
commit
6b0bb512ef
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 = "-*{SOURCE}- {MSG}"
|
||||
line = "-*{~SOURCE}- {MSG}"
|
||||
self._event("server-notice", event["server"], line, None,
|
||||
formatting={"MSG": event["message"], "SOURCE": event["source"]})
|
||||
formatting={"MSG": event["message"], "~SOURCE": event["source"]})
|
||||
|
||||
@utils.hook("received.invite")
|
||||
def invite(self, event):
|
||||
|
|
Loading…
Reference in a new issue