diff options
| author | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
| commit | 16ca76c2e7ab287e480185fbb03a0bb438351eda (patch) | |
| tree | dfb25534afa2352b65b2ee707086cb5eecc96fbb /modules/extra/stats/cs_fantasy_stats.cpp | |
| parent | ff030c1eb7c3764f9add2a689479e84d616cabcb (diff) | |
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'modules/extra/stats/cs_fantasy_stats.cpp')
| -rw-r--r-- | modules/extra/stats/cs_fantasy_stats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp index 78dce14f1..1cbc4cd15 100644 --- a/modules/extra/stats/cs_fantasy_stats.cpp +++ b/modules/extra/stats/cs_fantasy_stats.cpp @@ -24,9 +24,9 @@ class MySQLInterface : public SQL::Interface void OnError(const SQL::Result &r) override { if (!r.GetQuery().query.empty()) - Log(LOG_DEBUG) << "Chanstats: Error executing query " << r.finished_query << ": " << r.GetError(); + Log(LogType::DEBUG) << "Chanstats: Error executing query " << r.finished_query << ": " << r.GetError(); else - Log(LOG_DEBUG) << "Chanstats: Error executing query: " << r.GetError(); + Log(LogType::DEBUG) << "Chanstats: Error executing query: " << r.GetError(); } }; @@ -157,7 +157,7 @@ class CSStats : public Module } catch (const SQL::Exception &ex) { - Log(LOG_DEBUG) << ex.GetReason(); + Log(LogType::DEBUG) << ex.GetReason(); } } |
