aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-26 02:08:59 +0300
committerGravatar Vitaly Takmazov2016-01-26 02:08:59 +0300
commit3e589d7566164634a946018e61ccb36093d1924b (patch)
treeebd43f2cd746fdfd1c070d636ad4660ba7243470 /src/main
parent8a77f7d91311f8c4d8ef026dacb4abbe0fa764d1 (diff)
fix getUsersByName
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/server/UserQueries.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/UserQueries.java b/src/main/java/com/juick/server/UserQueries.java
index 226e21b1..cfa52a16 100644
--- a/src/main/java/com/juick/server/UserQueries.java
+++ b/src/main/java/com/juick/server/UserQueries.java
@@ -104,7 +104,7 @@ public class UserQueries {
}
public static List<User> getUsersByName(JdbcTemplate sql, List<String> unames) {
- return sql.query("SELECT id,nick FROM users WHERE nick IN (" + Utils.convertArrayString2String(unames) + ")",
+ return sql.query("SELECT id,nick,banned FROM users WHERE nick IN (" + Utils.convertArrayString2String(unames) + ")",
new UserMapper());
}