diff --git a/common/logsys.h b/common/logsys.h index 567d3f8db..15584276f 100644 --- a/common/logsys.h +++ b/common/logsys.h @@ -73,19 +73,9 @@ extern void log_raw_packet(LogType type, uint16 seq, const BasePacket *p); #ifdef DISABLE_LOGSYS //completely disabled, this is the best I can come up with since we have no variadic macros - inline void clog(LogType, const char *, ...) {} inline void zlog(LogType, const char *, ...) {} #else //!DISABLE_LOGSYS #ifdef WORLD - class Client; - extern void log_message_client(LogType type, Client *who, const char *fmt, ...); - #define clog( type, format, ...) \ - do { \ - if(log_type_info[ type ].enabled) { \ - log_message_client(type, this, format, ##__VA_ARGS__); \ - } \ - } while(false) - class ZoneServer; extern void log_message_zone(LogType type, ZoneServer *who, const char *fmt, ...); #define zlog( type, format, ...) \ diff --git a/world/client.cpp b/world/client.cpp index e83961435..0584fac61 100644 --- a/world/client.cpp +++ b/world/client.cpp @@ -1270,12 +1270,9 @@ void Client::SendGuildList() { //ask the guild manager to build us a nice guild list packet outapp->pBuffer = guild_mgr.MakeGuildList("", outapp->size); if(outapp->pBuffer == nullptr) { - clog(GUILDS__ERROR, "Unable to make guild list!"); return; } - clog(GUILDS__OUT_PACKETS, "Sending OP_GuildsList of length %d", outapp->size); -// _pkt(GUILDS__OUT_PACKET_TRACE, outapp); eqs->FastQueuePacket((EQApplicationPacket **)&outapp); }