[SimBot-commits] CVS: simbot simbot.pl,1.131,1.132
Status: Abandoned
Brought to you by:
kstange
|
From: Pete P. <fou...@us...> - 2005-07-28 00:50:24
|
Update of /cvsroot/simbot/simbot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31906 Modified Files: simbot.pl Log Message: Now to commit the changes I intended... - Give an alias to the simbot session so I can throw the restart event from httpd.pl Index: simbot.pl =================================================================== RCS file: /cvsroot/simbot/simbot/simbot.pl,v retrieving revision 1.131 retrieving revision 1.132 diff -u -d -p -r1.131 -r1.132 --- simbot.pl 28 Jul 2005 00:41:58 -0000 1.131 +++ simbot.pl 28 Jul 2005 00:50:09 -0000 1.132 @@ -1982,6 +1982,8 @@ sub initialize { $kernel->sig( USR1 => 'restart' ); $kernel->sig( USR2 => 'rehash' ); + $kernel->alias_set('simbot'); # so plugins can talk back to us + $kernel->post(bot => register => "all"); &irc_connect; @@ -2046,7 +2048,6 @@ sub irc_disconnected { # Everyone out of the pool! foreach(keys(%event_plugin_unload)) { - &SimBot::debug(DEBUG_STD, "Unloading $_\n"); &plugin_callback($_, $event_plugin_unload{$_}); } |