X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fcmd_neonhelp_requests.c;h=89d83ac9f4a111fb81d6cf9cc455bd0d3cca8c71;hb=48a8b8db9062c0544574f9373fd0e37fda0832ba;hp=5c23f8c26c77811ea06d86148cdf79c7bcaea98e;hpb=7c5dd19f4e89530ce6d7825252aed4e9c57e8505;p=NeonServV5.git diff --git a/src/cmd_neonhelp_requests.c b/src/cmd_neonhelp_requests.c index 5c23f8c..89d83ac 100644 --- a/src/cmd_neonhelp_requests.c +++ b/src/cmd_neonhelp_requests.c @@ -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];