[SimBot-commits] CVS: simbot/plugins httpd.pl,1.22,1.23 tinyurl.pl,1.11,1.12
Status: Abandoned
Brought to you by:
kstange
|
From: Kevin S. <ks...@us...> - 2005-11-10 13:23:39
|
Update of /cvsroot/simbot/simbot/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32409/plugins Modified Files: httpd.pl tinyurl.pl Log Message: debug() calls are supposed to end with a newline! Index: httpd.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/httpd.pl,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -p -r1.22 -r1.23 --- httpd.pl 10 Nov 2005 13:20:32 -0000 1.22 +++ httpd.pl 10 Nov 2005 13:23:25 -0000 1.23 @@ -186,7 +186,7 @@ sub admin_page { if ( $request->uri =~ m|\?restart$| ) { if ( !defined $kernel ) { - &debug(DEBUG_WARN, "Trying to restart simbot without a kernel"); + &debug(DEBUG_WARN, "Trying to restart simbot without a kernel\n"); } POE::Kernel->post( 'simbot', 'restart', "web admin" ); $response->code(RC_OK); Index: tinyurl.pl =================================================================== RCS file: /cvsroot/simbot/simbot/plugins/tinyurl.pl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -p -r1.11 -r1.12 --- tinyurl.pl 10 Nov 2005 13:20:32 -0000 1.11 +++ tinyurl.pl 10 Nov 2005 13:23:25 -0000 1.12 @@ -130,7 +130,7 @@ sub handle_chat { &SimBot::send_message($channel, 'TinyURL points to ' . &shorten_url($to_url)); } else { - &debug(3, " failed! (no redirect)\n"); + &debug(3, " failed! (no redirect)\n"); } } else { # not a HTTP redirect, maybe a META? @@ -144,7 +144,7 @@ sub handle_chat { . &shorten_url($to_url)); } else { &debug(3, " failed!\n"); - &debug(DEBUG_WARN, $response->content); + &debug(DEBUG_WARN, $response->content . "\n"); } } } |