author | Matthew Wild <mwild1@gmail.com> |
Wed, 19 Sep 2012 12:09:27 +0100 | |
changeset 5132 | ce6546f867f9 |
parent 5131 | 0cd962661fa2 |
child 5133 | 1443d1c37c6c |
--- a/plugins/mod_storage_sql.lua Wed Sep 19 12:08:33 2012 +0100 +++ b/plugins/mod_storage_sql.lua Wed Sep 19 12:09:27 2012 +0100 @@ -374,7 +374,7 @@ 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