summaryrefslogtreecommitdiffstats
path: root/ksirc/default.pl
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/default.pl')
-rw-r--r--ksirc/default.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ksirc/default.pl b/ksirc/default.pl
index 7b42dd18..e253f1e9 100644
--- a/ksirc/default.pl
+++ b/ksirc/default.pl
@@ -428,12 +428,12 @@ sub cmd_fk {
$n0thing_kickpat=$newarg;
&slashify($n0thing_kickpat);
$n0thing_kickmsg=$args || "though names may change each face retains the mask it wore";
- &addhook("352", "dofklist");
+ &addhook("352", "doftdelist");
&addhook("315", "donefk");
&sl("WHO $talkchannel");
}
&addcmd("fk");
-sub hook_dofklist {
+sub hook_doftdelist {
local($a)=@_;
local($c, $c, $u, $h, $s, $n)=split(/ +/, $a);
(($n."!".$u."\@".$h) =~ /${n0thing_kickpat}/i) && $n ne $nick &&
@@ -441,7 +441,7 @@ sub hook_dofklist {
$silent=1;
}
sub hook_donefk {
- &remhook("352", "dofklist");
+ &remhook("352", "doftdelist");
&remhook("315", "donefk");
}
sub cmd_setaway {