diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-07-27 20:29:31 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-07-27 20:29:31 +0100 |
commit | d8d206e5f02eb33aec3ff197ff5591f54059681b (patch) | |
tree | ab8528d3c2dae1b6edf4100517fb2b2f5d79b57c /hack_of_all_hacks | |
parent | 7fa37cdb9c78793ed9d03328be6d82aad9ae061d (diff) |
The auto repeater should not happen if the thing that was repeated was said to pbot-ng himself.
Diffstat (limited to 'hack_of_all_hacks')
-rw-r--r-- | hack_of_all_hacks | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hack_of_all_hacks b/hack_of_all_hacks index 4e6d5e8..55b0c61 100644 --- a/hack_of_all_hacks +++ b/hack_of_all_hacks @@ -72,7 +72,7 @@ function l33t_codes # If two different people say the same thing in a row then say it again # for fun. - if [[ ${stuff_said} == ${lastline} ]] && [[ ${person} != ${lastsender} ]] && [[ ${say_again} != nono ]] + if [[ ${stuff_said} == ${lastline} ]] && [[ ${person} != ${lastsender} ]] && [[ ${say_again} != nono ]] && [[ ${stuff_said} != 'pbot-ng: '* ]] # If two different people say the same thing to me in quick sucession I shouldn't repeat them. then send_msg "${channel_it_came_from}" "${stuff_said}" i_repeated="${stuff_said}" |