diff options
author | lookshe <mail@lookshe.org> | 2011-09-21 00:02:37 +0200 |
---|---|---|
committer | lookshe <mail@lookshe.org> | 2011-09-21 00:02:37 +0200 |
commit | d31b8400cbe5a131376efee4f7ba6ec5506807a6 (patch) | |
tree | 31d10ba2ce2be011bbbdd30276770480982cfb5c | |
parent | 38581cb23a5b09e7eb95c62294774614420ed2dd (diff) |
masked some special characters for nicknames
-rw-r--r-- | firstseen.pl | 1 | ||||
-rw-r--r-- | lastseen.pl | 3 | ||||
-rw-r--r-- | lastspoke.pl | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/firstseen.pl b/firstseen.pl index 3d9bced..adf8f3e 100644 --- a/firstseen.pl +++ b/firstseen.pl @@ -10,6 +10,7 @@ my $chan=$ARGV[1]; my $folder=$ARGV[0]; my $nick=$ARGV[2]; $nick=~s/\|/\\\|/g; +$nick=~s/\\/\\\\/g; my @files; diff --git a/lastseen.pl b/lastseen.pl index 4f0f05f..293bcdb 100644 --- a/lastseen.pl +++ b/lastseen.pl @@ -10,7 +10,8 @@ if ($#ARGV ne 2){ my $chan=$ARGV[1]; my $folder=$ARGV[0]; my $nick=$ARGV[2]; - +$nick=~s/\|/\\\|/g; +$nick=~s/\\/\\\\/g; my @files; 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; |