Strip font formatting chars before doing message filtering
This commit is contained in:
parent
1e03a40f8f
commit
1625534951
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("preprocess.send.privmsg")
|
@utils.hook("preprocess.send.privmsg")
|
||||||
@utils.hook("preprocess.send.notice")
|
@utils.hook("preprocess.send.notice")
|
||||||
def channel_message(self, event):
|
def channel_message(self, event):
|
||||||
message = event["line"].args[1]
|
message = utils.irc.strip_font(event["line"].args[1])
|
||||||
target_name = event["line"].args[0]
|
target_name = event["line"].args[0]
|
||||||
|
|
||||||
# strip off any STATUSMSG chars
|
# strip off any STATUSMSG chars
|
||||||
|
|
Loading…
Reference in a new issue