X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Commands%2FDef.pm;h=d7862a364fdbe6d1ddda62cfeda6a0f34e4e6096;hp=b115dd44be93aefc3cdcdc315e34fa02a88302fb;hb=0d63bf9da52cdfe2c9d8850b690032ff539b6398;hpb=5f2c0808b406a1c97a4cf07d1c7c51d574b4a6f6 diff --git a/Commands/Def.pm b/Commands/Def.pm index b115dd4..d7862a3 100644 --- a/Commands/Def.pm +++ b/Commands/Def.pm @@ -75,9 +75,9 @@ ORDER BY c.landing_tick; return; } } - $c->message(notice => $ND::memchan, "DEFENSE REQUIRED!! WAKE UP!!"); - $c->message(privmsg => $ND::memchan, "DEFENSE REQUIRED $mess $callinfo MSG " - .$c->nick." TO RESPOND"); + $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"); } sub settype