From bc98a7642addd1ed50ca349b96ce20fdb170280d Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Wed, 5 Feb 2020 22:58:28 -0800 Subject: [PATCH] Plugin/TypoSub: /msg error to user instead of channel --- Plugins/TypoSub.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/TypoSub.pm b/Plugins/TypoSub.pm index 55dc1358..fca106ee 100644 --- a/Plugins/TypoSub.pm +++ b/Plugins/TypoSub.pm @@ -100,7 +100,7 @@ sub on_public { if ($@) { my $error = "Error in `s${separator}${regex}${separator}${replacement}${separator}${modifiers}`: $@"; $error =~ s/ at .*$//; - $event->{conn}->privmsg($channel, $error); + $event->{conn}->privmsg($nick, $error); return 0; } }