[geeklog-cvs] geeklog-1.3/plugins/spamx IP.Examine.class.php,1.3,1.4

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Mon Apr 4 11:04:50 EDT 2005


Update of /var/cvs/geeklog-1.3/plugins/spamx
In directory www:/tmp/cvs-serv16048

Modified Files:
	IP.Examine.class.php 
Log Message:
Ouch ... Using a '=' where it should have been '==' was an unfortunate typo ...


Index: IP.Examine.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/IP.Examine.class.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** IP.Examine.class.php	29 Mar 2005 16:48:51 -0000	1.3
--- IP.Examine.class.php	4 Apr 2005 15:04:47 -0000	1.4
***************
*** 47,51 ****
          for ($i = 1; $i <= $nrows; $i++) {
              list ($val) = DB_fetchArray ($result);
!             if ($val = $_SERVER['REMOTE_ADDR']) {
                  $ans = 1; // quit on first positive match
                  SPAMX_log ($LANG_SX00['foundspam'] . $val .
--- 47,51 ----
          for ($i = 1; $i <= $nrows; $i++) {
              list ($val) = DB_fetchArray ($result);
!             if ($val == $_SERVER['REMOTE_ADDR']) {
                  $ans = 1; // quit on first positive match
                  SPAMX_log ($LANG_SX00['foundspam'] . $val .




More information about the geeklog-cvs mailing list