From d5714cdcb08a603ad8cd6c68978172514c9fb54f Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 24 Jan 2015 03:51:19 -0600 Subject: [PATCH] Remove Client::LogSQL --- zone/client.cpp | 11 ----------- zone/client.h | 1 - 2 files changed, 12 deletions(-) diff --git a/zone/client.cpp b/zone/client.cpp index 2fe451e0f..52d66cb6b 100644 --- a/zone/client.cpp +++ b/zone/client.cpp @@ -3504,17 +3504,6 @@ void Client::ChangeSQLLog(const char *file) { } } -void Client::LogSQL(const char *fmt, ...) { - if(SQL_log == nullptr) - return; - - va_list argptr; - va_start(argptr, fmt); - vfprintf(SQL_log, fmt, argptr ); - fputc('\n', SQL_log); - va_end(argptr); -} - void Client::GetGroupAAs(GroupLeadershipAA_Struct *into) const { memcpy(into, &m_pp.leader_abilities.group, sizeof(GroupLeadershipAA_Struct)); } diff --git a/zone/client.h b/zone/client.h index cc9eb7f77..bffcde113 100644 --- a/zone/client.h +++ b/zone/client.h @@ -915,7 +915,6 @@ public: void LoadZoneFlags(); void ChangeSQLLog(const char *file); - void LogSQL(const char *fmt, ...); bool CanFish(); void GoFish(); void ForageItem(bool guarantee = false);