X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Commands%2FDef.pm;fp=Commands%2FDef.pm;h=c50f864b1dda054eefed8293b97302fcef8dca5e;hp=099d706ddc50b8ac80ee42aee2b26dd29ecef910;hb=468a4e3e07c0d9e6ed66a75c73f0d7ff2921b90a;hpb=cd18307dc7e3886266937935feffbb41b1df422d 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); } };