cvs: pearbot / PEARbot.php

From: Date: Fri, 25 Jul 2003 16:04:59 +0000
Subject: cvs: pearbot / PEARbot.php
Groups: php.pear.bot 
Request: Send a blank email to pear-bot+get-19@lists.php.net to get a copy of this message
meebey Fri Jul 25 12:04:59 2003 EDT Modified files: /pearbot PEARbot.php Log: - added negative response to who(). Index: pearbot/PEARbot.php diff -u pearbot/PEARbot.php:1.13 pearbot/PEARbot.php:1.14 --- pearbot/PEARbot.php:1.13 Fri Jul 25 11:50:09 2003 +++ pearbot/PEARbot.php Fri Jul 25 12:04:58 2003 @@ -1,7 +1,7 @@ #!/home/meebey/php <?php /** - * $Id: PEARbot.php,v 1.13 2003/07/25 15:50:09 meebey Exp $ + * $Id: PEARbot.php,v 1.14 2003/07/25 16:04:58 meebey Exp $ * * PEARbot * this is an IRC service bot for #pear written in PHP @@ -156,6 +156,8 @@ if ($result !== false) { $irc->message(SMARTIRC_TYPE_CHANNEL, '#pear', $requester.": ".$lookupfor." is ".$result); + } else { + $irc->message(SMARTIRC_TYPE_CHANNEL, '#pear', $requester.": sorry, I don't know ".$lookupfor); } } }

« previous php.pear.bot (#19) next »