From: aquanight Date: Mon, 14 Feb 2022 14:14:39 +0000 (-0700) Subject: Fix undefined sub when trying to remove aliases X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=020a6c8527d8901eee6b8f247c1952eda41ae857;p=irssi-scripts.irssi.org.git Fix undefined sub when trying to remove aliases --- diff --git a/scripts/perlalias.pl b/scripts/perlalias.pl index da085b1..0859c96 100644 --- a/scripts/perlalias.pl +++ b/scripts/perlalias.pl @@ -418,7 +418,7 @@ sub cmd_perlalias { $command = substr($command, 1); if (exists $alias_packages{$command}) { destroy_alias_package $command; - Irssi::printfromat(MSGLEVEL_CLIENTNOTICE, perlalias_removed => $command); + Irssi::printformat(MSGLEVEL_CLIENTNOTICE, perlalias_removed => $command); } else { Irssi::printformat(MSGLEVEL_CLIENTERROR, perlalias_not_found => $command);