aboutsummaryrefslogtreecommitdiffstats
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
commitec41d90e0f1dd90bf7908acbf5ab25301dec9519 (patch)
tree2dc0fc68d4aa714edd54c879e75e657417333980
parente53e17d1bb45e433221702c9fe48a3e871151655 (diff)
downloadprosody-ec41d90e0f1dd90bf7908acbf5ab25301dec9519.tar.gz
prosody-ec41d90e0f1dd90bf7908acbf5ab25301dec9519.zip
mod_storage_sql: Remove obsolete comment
-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