aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-09-19 12:09:27 +0100
committerMatthew Wild <mwild1@gmail.com>2012-09-19 12:09:27 +0100
commit3b96fac7491ce85877b7ee2038ae90b2d501ca6c (patch)
tree2dc0fc68d4aa714edd54c879e75e657417333980 /plugins/mod_storage_sql.lua
parent6d61a3834d5dd59a2643c386236d5c33cd97fa32 (diff)
downloadprosody-3b96fac7491ce85877b7ee2038ae90b2d501ca6c.tar.gz
prosody-3b96fac7491ce85877b7ee2038ae90b2d501ca6c.zip
mod_storage_sql: Remove obsolete comment
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r--plugins/mod_storage_sql.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 5a08598a..e05a475d 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -374,7 +374,7 @@ function driver:open(store, typ)
return nil, "unsupported-store";
end
-function driver:stores(username) -- Not to be confused with the list store type
+function driver:stores(username)
local sql = "SELECT DISTINCT `store` FROM `prosody` WHERE `host`=? AND `user`" ..
(username == true and "!=?" or "=?");
if username == true or not username then