summaryrefslogtreecommitdiff
path: root/security/sa_patch.pl
diff options
context:
space:
mode:
authorAilin Nemui <ailin@z30a.localdomain>2016-09-21 17:00:44 +0200
committerAilin Nemui <ailin@z30a.localdomain>2016-09-21 19:33:06 +0200
commit5f2158187281d13a47b9061f1ecc496674ad12db (patch)
treec32aecbb56325f6f9e03ae1aa7b11de24f1e8c3e /security/sa_patch.pl
parent9c2ebf64cbf02753f4843d778fae4e700265bbc1 (diff)
downloadirssi.github.io-5f2158187281d13a47b9061f1ecc496674ad12db.zip
Add security info and script
Diffstat (limited to 'security/sa_patch.pl')
-rw-r--r--security/sa_patch.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/sa_patch.pl b/security/sa_patch.pl
new file mode 100644
index 0000000..2194dc7
--- /dev/null
+++ b/security/sa_patch.pl
@@ -0,0 +1,2 @@
+Irssi::signal_add_first("print text", sub {
+ for ($_[1]) { $_ .= ' ' if /\cD(?!.....)/ } &Irssi::signal_continue })