diff options
author | David Phillips <david@yeah.nah.nz> | 2018-10-15 13:16:58 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2018-10-15 13:16:58 +1300 |
commit | 186cb12c229522bc49940129c710d877c36548cc (patch) | |
tree | 8c8ff24464b1757fc3c90b220d582a41822d555b | |
parent | 7ebdcce5c312cd262e13f040e9dae55b708a915d (diff) | |
download | idalius-186cb12c229522bc49940129c710d877c36548cc.tar.xz |
Titillate: Allow full overlap
-rw-r--r-- | Plugin/Titillate.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugin/Titillate.pm b/Plugin/Titillate.pm index 9afb1c6..91e91e5 100644 --- a/Plugin/Titillate.pm +++ b/Plugin/Titillate.pm @@ -28,7 +28,7 @@ sub on_message { foreach (@expressions) { my $e = $_; while ($what =~ /($e)/gi) { - $responses{$-[0]} = $config->{triggers}->{$e}; + $responses{$-[0]} .= $config->{triggers}->{$e}; } } $gathered .= $responses{$_} foreach (sort { $a <=> $b } (keys %responses)); |