projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Minor compilation and correctness fixes.
[srvx.git]
/
src
/
mod-helpserv.c
diff --git
a/src/mod-helpserv.c
b/src/mod-helpserv.c
index 8e1fe1fd70c205f4c22a380faefddc038fbb9bfb..fec20c625d30c276488b3737dd98f81cc69f7239 100644
(file)
--- a/
src/mod-helpserv.c
+++ b/
src/mod-helpserv.c
@@
-2962,7
+2962,7
@@
static HELPSERV_FUNC(cmd_modstats) {
return 0;
}
- if (mod < 0 &&
abs(mod) >
field[week]) {
+ if (mod < 0 &&
mod < -(int)
field[week]) {
helpserv_notice(user, "HSMSG_MODSTATS_NEGATIVE");
return 0;
}