1.1 --- a/core/AdminCache.cpp Tue Sep 11 12:29:58 2007 +0000
1.2 +++ b/core/AdminCache.cpp Tue Sep 11 15:10:18 2007 +0000
1.3 @@ -31,12 +31,12 @@
1.4
1.5 #include <string.h>
1.6 #include <assert.h>
1.7 +#include <ITextParsers.h>
1.8 #include "AdminCache.h"
1.9 #include "ShareSys.h"
1.10 #include "ForwardSys.h"
1.11 #include "PlayerManager.h"
1.12 #include "ConCmdManager.h"
1.13 -#include "TextParsers.h"
1.14 #include "Logger.h"
1.15 #include "sourcemod.h"
1.16 #include "sm_stringutil.h"
1.17 @@ -89,10 +89,10 @@
1.18 m_bFileNameLogged = false;
1.19 g_SourceMod.BuildPath(Path_SM, m_File, sizeof(m_File), "configs/admin_levels.cfg");
1.20
1.21 - if ((error = g_TextParser.ParseFile_SMC(m_File, this, &line, NULL))
1.22 + if ((error = textparsers->ParseFile_SMC(m_File, this, &line, NULL))
1.23 != SMCParse_Okay)
1.24 {
1.25 - const char *err_string = g_TextParser.GetSMCErrorString(error);
1.26 + const char *err_string = textparsers->GetSMCErrorString(error);
1.27 if (!err_string)
1.28 {
1.29 err_string = "Unknown error";