From 01f9e889ca4ce3364d089de4bab3c4ab5ef06bee Mon Sep 17 00:00:00 2001 From: aquanight Date: Fri, 15 Feb 2008 21:00:33 +0000 Subject: Merge warning about InspIRCd::Log() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8945 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 8cb62e72f..487af4511 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -36,8 +36,7 @@ void InspIRCd::Log(int level, const char* text, ...) void InspIRCd::Log(int level, const std::string &text) { - this->Logs->Log("WARNING", DEFAULT, "Deprecated call to InspIRCd::Log()! - log message follows"); - this->Logs->Log("DEPRECATED", level, text); + this->Logs->Log("DEPRECATED", level, "Deprecated use of InspIRCd::Log(), message = %s", text.c_str()); } std::string InspIRCd::GetServerDescription(const char* servername) -- cgit v1.2.3