From 4c84eb6e64b730b9b8726d30e70c355a5056b83c Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Thu, 21 Mar 2019 16:47:34 +0100 Subject: [PATCH] Updated defcall --- Commands/Def.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } }; -- 2.39.2