don't run filters/replaces on assured lines
This commit is contained in:
parent
027e27d121
commit
ada7785155
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("preprocess.send.privmsg")
|
||||
@utils.hook("preprocess.send.notice")
|
||||
def channel_message(self, event):
|
||||
if event["line"].assured():
|
||||
# don't run filters/replaces against assured lines
|
||||
return
|
||||
|
||||
message = event["line"].args[1]
|
||||
original_message = message
|
||||
message_plain = utils.irc.strip_font(message)
|
||||
|
|
Loading…
Reference in a new issue