Thread: UCS Error
View Single Post
  #2  
Old 12-18-2012, 11:46 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Code:
void Database::GetAccountStatus(Client *c) {
...
	if (!RunQuery(query,MakeAnyLenString(&query, "select `status`, `hideme`, `karma`, `revoked` from `account` where `id`='%i' limit 1",
					   c->GetAccountID()),errbuf,&result)){

...
	if(mysql_num_rows(result) != 1)
	{
		_log(UCS__ERROR, "Error in GetAccountStatus");
		mysql_free_result(result);
		return;
	}
So, looking at that I'd guess you're getting 0 rows for that query. *shrug*
Reply With Quote