From 3b62229959599e93a0baa491c6fef75e6af0dde0 Mon Sep 17 00:00:00 2001 From: David Phillips <david@sighup.nz> Date: Mon, 10 Sep 2018 19:51:29 +1200 Subject: Fix regression with nick-prefix addressing --- idalius.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idalius.pl b/idalius.pl index 8559aa6..bd2d1a8 100755 --- a/idalius.pl +++ b/idalius.pl @@ -206,7 +206,7 @@ sub handle_common { my $stripped_what = strip_color(strip_formatting($what)); my $no_prefix_what = $stripped_what; - if ($config{prefix_nick} && $stripped_what =~ s/^\Q$current_nick\E[:,]\s+//g || + if ($config{prefix_nick} && $no_prefix_what =~ s/^\Q$current_nick\E[:,]\s+//g || $no_prefix_what =~ s/^$config{prefix}//) { $output = run_command($no_prefix_what, $who, $where); $irc->yield(privmsg => $where => $output) if $output; -- cgit v1.1