cvs: pearbot / PEARbot.php
| From: | Mirco 'meebey' Bauer | Date: | Fri, 25 Jul 2003 15:42:16 +0000 |
| Subject: | cvs: pearbot / PEARbot.php | ||
| Groups: | php.pear.bot | ||
| Request: | Send a blank email to pear-bot+get-16@lists.php.net to get a copy of this message | ||
meebey Fri Jul 25 11:42:16 2003 EDT
Modified files:
/pearbot PEARbot.php
Log:
- fixed bug in reverseverify().
Index: pearbot/PEARbot.php
diff -u pearbot/PEARbot.php:1.10 pearbot/PEARbot.php:1.11
--- pearbot/PEARbot.php:1.10 Fri Jul 25 11:36:06 2003
+++ pearbot/PEARbot.php Fri Jul 25 11:42:16 2003
@@ -1,7 +1,7 @@
#!/home/meebey/php
<?php
/**
- * $Id: PEARbot.php,v 1.10 2003/07/25 15:36:06 meebey Exp $
+ * $Id: PEARbot.php,v 1.11 2003/07/25 15:42:16 meebey Exp $
*
* PEARbot
* this is an IRC service bot for #pear written in PHP
@@ -45,7 +45,7 @@
{
global $mdb;
- $query = "SELECT pearusername FROM dnsentries WHERE
nickname='".$nickname."'";
+ $query = "SELECT pearusername FROM users WHERE
nickname='".$nickname."'";
$result = $mdb->query($query);
if (MDB::isError($result)) {
$this->mdbError($irc, $result);
@@ -60,7 +60,7 @@
{
global $mdb;
- $query = "SELECT nickname,dnsalias FROM dnsentries";
+ $query = "SELECT nickname,host FROM users AND
ident='".$data->ident."'";
$result = $mdb->query($query);
if (MDB::isError($result)) {
$this->mdbError($irc, $result);