aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_sqlite3.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-08-04 07:08:41 -0700
committerGravatar Attila Molnar2013-08-04 07:08:41 -0700
commit36f93c0e7f8a980943237b0b28138ade86f5e573 (patch)
tree1136c86e37046d5717bbb9aea97ae558ef4adbe2 /src/modules/extra/m_sqlite3.cpp
parentRemove a few not-so-useful debug messages (diff)
parentModify the log message to contain the log type. (diff)
downloadinspircd++-36f93c0e7f8a980943237b0b28138ade86f5e573.tar.gz
inspircd++-36f93c0e7f8a980943237b0b28138ade86f5e573.tar.bz2
inspircd++-36f93c0e7f8a980943237b0b28138ade86f5e573.zip
Merge pull request #590 from SaberUK/master+module-logging
Change modules to use the MODNAME constant.
Diffstat (limited to 'src/modules/extra/m_sqlite3.cpp')
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 4cc76ef8c..945584df2 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -84,7 +84,7 @@ class SQLConn : public SQLProvider
std::string host = tag->getString("hostname");
if (sqlite3_open_v2(host.c_str(), &conn, SQLITE_OPEN_READWRITE, 0) != SQLITE_OK)
{
- ServerInstance->Logs->Log("m_sqlite3", LOG_DEFAULT, "WARNING: Could not open DB with id: " + tag->getString("id"));
+ ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "WARNING: Could not open DB with id: " + tag->getString("id"));
conn = NULL;
}
}