diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-15 21:00:33 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-15 21:00:33 +0000 |
commit | 01f9e889ca4ce3364d089de4bab3c4ab5ef06bee (patch) | |
tree | 7fdfc8bafcfc3e8d41f82b67c5a7566c98aad86e | |
parent | 11f1f2126c3e1f1cb91f5d6e273eba2850ca61a8 (diff) |
Merge warning about InspIRCd::Log()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8945 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/helperfuncs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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) |