projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91903b
)
fixed cmd_trim access range check
author
pk910
<philipp@zoelle1.de>
Sat, 17 Sep 2011 19:34:34 +0000
(21:34 +0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 17 Sep 2011 19:34:34 +0000
(21:34 +0200)
cmd_neonserv_trim.c
patch
|
blob
|
history
diff --git
a/cmd_neonserv_trim.c
b/cmd_neonserv_trim.c
index 345a9e23e8e701b0494d24af76f06ba183b3d10e..749b7530b7a9097af8c1a23970aaaafe04903584 100644
(file)
--- a/
cmd_neonserv_trim.c
+++ b/
cmd_neonserv_trim.c
@@
-46,7
+46,7
@@
static CMD_BIND(neonserv_cmd_trim) {
seperator++;
min_access = atoi(argv[0]);
max_access = atoi(seperator);
- if(max_access
>
min_access) {
+ if(max_access
<
min_access) {
reply(getTextBot(), user, "NS_INVALID_ACCESS_RANGE", min_access, max_access);
return;
}