From: Michael Andreen Date: Thu, 21 Mar 2019 15:47:34 +0000 (+0100) Subject: Updated defcall X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=commitdiff_plain;h=4c84eb6e64b730b9b8726d30e70c355a5056b83c Updated defcall --- diff --git a/Commands/Def.pm b/Commands/Def.pm index 099d706..c50f864 100644 --- a/Commands/Def.pm +++ b/Commands/Def.pm @@ -58,9 +58,8 @@ ORDER BY c.landing_tick; return; } } - $c->message(notice => $c->disp->targets->{members}, "DEFENSE REQUIRED!! WAKE UP!!"); - $c->message(privmsg => $c->disp->targets->{members}, "DEFENSE REQUIRED " - ."$mess $callinfo MSG ".$c->nick." TO RESPOND"); + $c->bot->toTarget(members => "DEFENSE REQUIRED " + ."$mess $callinfo RESPOND TO ".$c->username); } };