[SimBot-commits] CVS: simbot/plugins httpd.pl,1.4,1.5
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-07-27 21:46:46
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17680/plugins Modified Files: httpd.pl Log Message: Y'know, hitting save before committing works better. Index: httpd.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/httpd.pl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -p -r1.4 -r1.5 --- httpd.pl 27 Jul 2005 21:39:26 -0000 1.4 +++ httpd.pl 27 Jul 2005 21:46:37 -0000 1.5 @@ -28,7 +28,9 @@ use constant WEB_PORT => 8090; use constant ADMIN_USER => 'admin'; use constant ADMIN_PASS => 'hahaha'; -use vars qw( $kernel $session ); +our $aliases; +#our $kernel; +use vars qw( $kernel ); $session = POE::Component::Server::HTTP->new( Alias => 'simbot_plugin_httpd', @@ -132,7 +134,7 @@ sub messup_httpd { } sub cleanup_httpd { - $session->call('shutdown'); + $kernel->call($aliases->{httpd}, 'shutdown'); } &SimBot::plugin_register( |