From f09df147ed45eece6eced6f9c870746e7702e73b Mon Sep 17 00:00:00 2001 From: pk910 Date: Sun, 21 Aug 2011 08:00:19 +0200 Subject: [PATCH] fixed match check on cmd_neonserv_users.c --- cmd_neonserv_users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd_neonserv_users.c b/cmd_neonserv_users.c index a87aca5..a013cdb 100644 --- a/cmd_neonserv_users.c +++ b/cmd_neonserv_users.c @@ -68,7 +68,7 @@ static void neonserv_cmd_users_async1(struct ClientSocket *client, struct Client table_add(table, content); while ((row = mysql_fetch_row(res)) != NULL) { caccess = atoi(row[0]); - if((!usermask || match(usermask, row[1])) && caccess >= min_access && caccess <= max_access) { + if((!usermask || !match(usermask, row[1])) && caccess >= min_access && caccess <= max_access) { content[0] = row[0]; content[1] = row[1]; is_here = 0; -- 2.20.1