summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbi.c b/src/dbi.c
index fd93fcf..3d2608d 100644
--- a/src/dbi.c
+++ b/src/dbi.c
@@ -137,7 +137,7 @@ int og_dbi_get_room_info(struct og_dbi *dbi, struct og_room *room,
result = dbi_conn_queryf(dbi->conn,
"SELECT nombreaula, router, netmask "
- "FROM aulas WHERE idaula=%d AND grupoid=0",
+ "FROM aulas WHERE idaula=%d",
room_id);
if (!result) {
dbi_conn_error(dbi->conn, &msglog);