Rename CL to g_Clientlist

This commit is contained in:
Michael Cook (mackal)
2016-05-17 15:11:23 -04:00
parent 38af484368
commit 29da15f38c
4 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -34,7 +34,7 @@
#include "../common/md5.h"
extern WorldServer worldserver;
extern Clientlist *CL;
extern Clientlist *g_Clientlist;
extern const ucsconfig *Config;
extern Database database;
@@ -90,7 +90,7 @@ void WorldServer::Process()
Log.Out(Logs::Detail, Logs::UCS_Server, "Player: %s, Sent Message: %s", From, Message.c_str());
Client *c = CL->FindCharacter(From);
Client *c = g_Clientlist->FindCharacter(From);
safe_delete_array(From);
@@ -109,7 +109,7 @@ void WorldServer::Process()
}
else if(Message[0] == '[')
{
CL->ProcessOPMailCommand(c, Message.substr(1, std::string::npos));
g_Clientlist->ProcessOPMailCommand(c, Message.substr(1, std::string::npos));
}
break;