[SimBot-commits] CVS: simbot/plugins httpd.pl,1.16,1.17
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-08-10 19:29:45
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3677/plugins Modified Files: httpd.pl Log Message: Success is not an error. Index: httpd.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/httpd.pl,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -p -r1.16 -r1.17 --- httpd.pl 10 Aug 2005 19:26:00 -0000 1.16 +++ httpd.pl 10 Aug 2005 19:29:36 -0000 1.17 @@ -176,7 +176,7 @@ sub admin_page { POE::Kernel->post('simbot', 'restart', "web admin"); $response->code(RC_OK); $response->content('OK, restarting'); - return; + return RC_OK; } elsif(($say) = $request->uri =~ m|\?say=(\S+)$|) { $say =~ s/\+/ /g; $say =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; |