sub ispell {
my $query = shift;
- if (! -x "/usr/bin/spell") {
+ if (! -x "/usr/bin/ispell") {
&msg($who, "no binary found.");
return;
}
if ($param{'ircNick'} eq $ident) {
&msg($who, "I hope you're right. I'll try anyway.");
}
+ &DEBUG("ircNick => $param{'ircNick'}");
+ &DEBUG("ident => $ident");
if (! &IsNickInAnyChan( $param{ircNick} ) ) {
my $str = "attempting to change nick to $param{'ircNick'}";
&msg($who, $str);
&nick($param{'ircNick'});
} else {
- &msg($who, "hrm... can't do it");
+ &msg($who, "hrm.. I shouldn't do it (BUG?) but doing it anyway!");
&DEBUG("wN: nick is somewhere... should try later.");
+ &nick($param{'ircNick'});
}
return;