change formatted NOTICEs to be denoted by "-nick-" (PRIVMSG as "<nick>")
This commit is contained in:
parent
46058c51c5
commit
d06efdabed
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
def _on_notice(self, event, nickname):
|
def _on_notice(self, event, nickname):
|
||||||
nickname = self._colorize(nickname)
|
nickname = self._colorize(nickname)
|
||||||
return "(notice) <%s> %s" % (nickname, event["message"])
|
return "-%s- %s" % (nickname, event["message"])
|
||||||
def _channel_notice(self, event, nickname, channel):
|
def _channel_notice(self, event, nickname, channel):
|
||||||
line = self._on_notice(event, nickname)
|
line = self._on_notice(event, nickname)
|
||||||
self._event("notice.channel", event["server"], line,
|
self._event("notice.channel", event["server"], line,
|
||||||
|
|
Loading…
Reference in a new issue