aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Plugin/Titillate.pm2
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));