summaryrefslogtreecommitdiff
path: root/modules/extra/m_chanstats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_chanstats.cpp')
-rw-r--r--modules/extra/m_chanstats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_chanstats.cpp b/modules/extra/m_chanstats.cpp
index 8aa7e0a6a..9da3f0b10 100644
--- a/modules/extra/m_chanstats.cpp
+++ b/modules/extra/m_chanstats.cpp
@@ -66,7 +66,7 @@ class MChanstats : public Module
if (!sql)
return;
- SQLResult r = this->sql->RunQuery(this->sql->GetTables());
+ SQLResult r = this->sql->RunQuery(this->sql->GetTables("anope_bs_"));
for (int i = 0; i < r.Rows(); ++i)
{
const std::map<Anope::string, Anope::string> &map = r.Row(i);