added some missing language strings and a internal channel reminder
[NeonServV5.git] / src / cmd_neonhelp_requests.c
index 5c23f8c26c77811ea06d86148cdf79c7bcaea98e..89d83ac9f4a111fb81d6cf9cc455bd0d3cca8c71 100644 (file)
@@ -57,7 +57,7 @@ CMD_BIND(neonhelp_cmd_requests) {
         return;
     }
     struct Table *table;
-    printf_mysql_query("SELECT `id`, `time`, `text` FROM `helpserv_requests` WHERE `botid` = '%d' ORDER BY `time` DESC", client->clientid);
+    printf_mysql_query("SELECT `id`, `time`, `text` FROM `helpserv_requests` WHERE `botid` = '%d' AND `status` != 2 ORDER BY `time` DESC", client->clientid);
     res = mysql_use();
     table = table_init(5, mysql_num_rows(res) + 1, 0);
     char *content[5];