projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2554fd5
)
fixed cmd_users output filter
author
pk910
<philipp@zoelle1.de>
Fri, 19 Oct 2012 12:08:36 +0000
(14:08 +0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 19 Oct 2012 12:08:36 +0000
(14:08 +0200)
src/modules/NeonServ.mod/cmd_neonserv_users.c
patch
|
blob
|
history
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_users.c
b/src/modules/NeonServ.mod/cmd_neonserv_users.c
index 1ab7d478acbfaf5d6196158b12a17e464b87b45a..4da41b5e7450e687439f81852cb8f1dbbb006a0e 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_users.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_users.c
@@
-86,7
+86,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])) && (min_access
> 1 && caccess >= min_access) && (max_access < 500 &&
caccess <= max_access)) {
+ if((!usermask || !match(usermask, row[1])) && (min_access
== 1 || caccess >= min_access) && (max_access == 500 ||
caccess <= max_access)) {
content[0] = row[0];
content[1] = row[1];
is_here = 0;