summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2013-08-28 07:01:35 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2013-08-28 07:01:35 +0100
commitdb08945ab17864496a8d8b6243445cbb1b18a62d (patch)
treed3776d797a704149c3d06afbefc1869177992481
parent947ec8b92431279c8cbe48ce5bdd2981fc5aa271 (diff)
fixed up the logic
-rw-r--r--hack_of_all_hacks3
1 files changed, 1 insertions, 2 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks
index b73dcb1..a3ee34d 100644
--- a/hack_of_all_hacks
+++ b/hack_of_all_hacks
@@ -55,8 +55,7 @@ function l33t_codes
injected_data=0
- line_half_filtered="${line##*PRIVMSG}"
- line_filtered=${line_half_filtered##* :}
+ line_filtered=${line##*PRIVMSG +([![:space:]]) :}
if [[ ${personoslash} == tlCJ99mfZl ]]
then