diff options
author | David Phillips <david@sighup.nz> | 2018-09-10 19:51:29 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-09-10 19:51:29 +1200 |
commit | 3b62229959599e93a0baa491c6fef75e6af0dde0 (patch) | |
tree | aab5f071cc90629d1f4c5c30e8ed22f4a2b5f6ef | |
parent | 82c0a3b5add41f952110dd5b3a4bede2642b2537 (diff) | |
download | idalius-3b62229959599e93a0baa491c6fef75e6af0dde0.tar.xz |
Fix regression with nick-prefix addressing
-rwxr-xr-x | idalius.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |