View Single Post
  #5  
Old 03-01-2011, 02:07 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

This is the query it uses:

if (RunQuery(query, MakeAnyLenString(&query, "SELECT ip_address FROM Banned_IPs WHERE ip_address='%s'", loginIP), errbuf, &result)) {

It will also fail if the query doesn't run correctly. You might try modifying the CheckBannedIPs function to log the progress to the log file instead of using cout and cerr so you can check if that's the case.
Reply With Quote