]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb.pm
Fix in case planets happens to be 0
[ndwebbie.git] / lib / NDWeb.pm
index 1e59f30b970767cbdc807b98138a317fdd0e0fa4..952f87272c3bc666a297d3947f90647def3b8a1e 100644 (file)
@@ -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/]);