diff options
author | Adam <Adam@anope.org> | 2012-10-27 08:12:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-27 08:12:04 -0400 |
commit | d6e1b92059688c8b59df0eedccfb16781d193591 (patch) | |
tree | e61ace0908bae241ea4cac18331a99b441981dad /modules/extra/m_sql_authentication.cpp | |
parent | bb5f4555dce8bdfa7124db87c72a084c9d9416a1 (diff) |
Add a module log type
Diffstat (limited to 'modules/extra/m_sql_authentication.cpp')
-rw-r--r-- | modules/extra/m_sql_authentication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |