From d6e1b92059688c8b59df0eedccfb16781d193591 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 27 Oct 2012 08:12:04 -0400 Subject: Add a module log type --- modules/extra/m_sql_authentication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/extra/m_sql_authentication.cpp') diff --git a/modules/extra/m_sql_authentication.cpp b/modules/extra/m_sql_authentication.cpp index 9375615ee..9412edc50 100644 --- a/modules/extra/m_sql_authentication.cpp +++ b/modules/extra/m_sql_authentication.cpp @@ -65,7 +65,7 @@ class SQLAuthenticationResult : public SQLInterface void OnError(const SQLResult &r) anope_override { - Log() << "m_sql_authentication: Error executing query " << r.GetQuery().query << ": " << r.GetError(); + Log(this->owner) << "m_sql_authentication: Error executing query " << r.GetQuery().query << ": " << r.GetError(); delete this; } }; @@ -119,7 +119,7 @@ class ModuleSQLAuthentication : public Module { if (!this->SQL) { - Log() << "m_sql_authentication: Unable to find SQL engine"; + Log(this) << "Unable to find SQL engine"; return; } -- cgit