X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=lib%2FNDWeb.pm;h=952f87272c3bc666a297d3947f90647def3b8a1e;hb=1589baf3e90bbc7f1305e9691185188e15f326b9;hp=1e59f30b970767cbdc807b98138a317fdd0e0fa4;hpb=b49322dc8ac6ddc3d988caa5cd92b397fb8d0c31;p=ndwebbie.git diff --git a/lib/NDWeb.pm b/lib/NDWeb.pm index 1e59f30..952f872 100644 --- a/lib/NDWeb.pm +++ b/lib/NDWeb.pm @@ -41,6 +41,10 @@ use Catalyst qw/ our $VERSION = '0.01'; +sub signal_bots { + system 'killall','-USR1', 'ndbot.pl'; +} + # Configure the application. # # Note that settings in ndweb.yml (or other external @@ -94,6 +98,8 @@ __PACKAGE__->deny_access_unless('/raids',[qw/raids_edit/]); __PACKAGE__->allow_access_if('/raids/index',[qw//]); __PACKAGE__->allow_access_if('/raids/view',[qw//]); __PACKAGE__->allow_access_if('/raids/targetcalc',[qw//]); +__PACKAGE__->allow_access_if('/raids/fleetcalc',[qw//]); +__PACKAGE__->allow_access_if('/raids/calcredir',[qw//]); __PACKAGE__->allow_access_if('/raids/findRaid',[qw//]); __PACKAGE__->allow_access_if('/raids/log',[qw//]); __PACKAGE__->deny_access_unless('/intel',[qw/intel/]);