Rename CL to g_Clientlist

This commit is contained in:
Michael Cook (mackal) committed 2016-05-17 15:11:23 -04:00
1 parent 38af484368
commit 29da15f38c
4 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -48,7 +48,7 @@
#include "../common/string_util.h"
#include "chatchannel.h"
extern Clientlist *CL;
extern Clientlist *g_Clientlist;
extern std::string GetMailPrefix();
extern ChatChannelList *ChannelList;
extern uint32 MailMessagesSent;
@@ -463,7 +463,7 @@ bool Database::SendMail(std::string recipient, std::string from, std::string sub
Log.Out(Logs::Detail, Logs::UCS_Server, "MessageID %i generated, from %s, to %s", results.LastInsertedID(), from.c_str(), recipient.c_str());
Client *client = CL->IsCharacterOnline(characterName);
Client *client = g_Clientlist->IsCharacterOnline(characterName);
if(client) {
std::string FQN = GetMailPrefix() + from;