X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb%2FController%2FMembers.pm;h=cfd6d536c62c5a432e66bf6a8c3d66b06ec37c31;hb=c5da20780e4578b2715794a694d13e438155751d;hp=b9ae443ce5a994b3ca3e97e034f4608f41919eb6;hpb=e63209f8d1ed3c62d19cb345b89860a061af654a;p=ndwebbie.git diff --git a/lib/NDWeb/Controller/Members.pm b/lib/NDWeb/Controller/Members.pm index b9ae443..cfd6d53 100644 --- a/lib/NDWeb/Controller/Members.pm +++ b/lib/NDWeb/Controller/Members.pm @@ -265,7 +265,7 @@ sub postircrequest : Local { INSERT INTO irc_requests (uid,channel,message) VALUES($1,$2,$3) }); $query->execute($c->user->id,$c->req->param('channel'),$c->req->param('message')); - system 'killall','-USR1', 'ndbot.pl'; + $c->signal_bots; $c->flash(reply => "Msg sent to: ".$c->req->param('channel')); $c->res->redirect($c->uri_for('ircrequest')); @@ -574,6 +574,7 @@ sub postconfirmation : Local { } $dbh->commit; $c->flash(missions => \@missions); + $c->signal_bots; }; if ($@){ $dbh->rollback;