* Fixed thread deadlock by disabling logging DB errors to DB... Heh.

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX
2009-03-22 12:28:28 +01:00
parent b5390f84b9
commit 69b1c1c219
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -447,6 +447,7 @@ void Log::outErrorDb( const char * err, ... )
if( !err )
return;
/*
if (m_enableLogDB)
{
va_list ap2;
@@ -456,6 +457,7 @@ void Log::outErrorDb( const char * err, ... )
outDB(LOG_TYPE_DBERR, nnew_str);
va_end(ap2);
}
*/
if(m_colored)
SetColor(false,RED);
-1
View File
@@ -47,7 +47,6 @@ enum LogTypes
LOG_TYPE_RA = 7,
LOG_TYPE_GM = 8,
LOG_TYPE_PACKET = 9,
LOG_TYPE_DBERR = 10,
MAX_LOG_TYPES
};