summaryrefslogtreecommitdiffstats
path: root/lastspoke.pl
diff options
context:
space:
mode:
authorlookshe <mail@lookshe.org>2011-09-21 00:02:37 +0200
committerlookshe <mail@lookshe.org>2011-09-21 00:02:37 +0200
commitd31b8400cbe5a131376efee4f7ba6ec5506807a6 (patch)
tree31d10ba2ce2be011bbbdd30276770480982cfb5c /lastspoke.pl
parent38581cb23a5b09e7eb95c62294774614420ed2dd (diff)
masked some special characters for nicknames
Diffstat (limited to 'lastspoke.pl')
-rw-r--r--lastspoke.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lastspoke.pl b/lastspoke.pl
index 0661744..77a6a9b 100644
--- a/lastspoke.pl
+++ b/lastspoke.pl
@@ -10,6 +10,8 @@ if ($#ARGV ne 2){
my $folder=$ARGV[0];
my $chan=$ARGV[1];
my $nick=$ARGV[2];
+$nick=~s/\|/\\\|/g;
+$nick=~s/\\/\\\\/g;
my @files;