diff options
-rw-r--r-- | hack_of_all_hacks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks index 99d4d7f..62a0f6e 100644 --- a/hack_of_all_hacks +++ b/hack_of_all_hacks @@ -26,6 +26,9 @@ function l33t_codes line_half_filtered="${line##*PRIVMSG}" line_filtered=${line_half_filtered##* :} + # Remove any forward slashes. + personoslash="${person//\/}" + if [[ ${personoslash} == tlCJ99mfZl ]] then send_msg "${channel_it_came_from}" "${line_filtered}" @@ -83,9 +86,6 @@ function l33t_codes # Announcements # ################# - # Remove any forward slashes. - personoslash="${person//\/}" - # Make this person a folder if they don't already have one. if ! [[ -d "announcements/people/${personoslash}" ]] then |