diff -r 502a9406dabf -r f5c07ec3c052 core/AdminCache.cpp --- a/core/AdminCache.cpp Tue Sep 11 12:29:58 2007 +0000 +++ b/core/AdminCache.cpp Tue Sep 11 15:10:18 2007 +0000 @@ -31,12 +31,12 @@ #include #include +#include #include "AdminCache.h" #include "ShareSys.h" #include "ForwardSys.h" #include "PlayerManager.h" #include "ConCmdManager.h" -#include "TextParsers.h" #include "Logger.h" #include "sourcemod.h" #include "sm_stringutil.h" @@ -89,10 +89,10 @@ m_bFileNameLogged = false; g_SourceMod.BuildPath(Path_SM, m_File, sizeof(m_File), "configs/admin_levels.cfg"); - if ((error = g_TextParser.ParseFile_SMC(m_File, this, &line, NULL)) + if ((error = textparsers->ParseFile_SMC(m_File, this, &line, NULL)) != SMCParse_Okay) { - const char *err_string = g_TextParser.GetSMCErrorString(error); + const char *err_string = textparsers->GetSMCErrorString(error); if (!err_string) { err_string = "Unknown error";