projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed cmd_users counter (-1)
[srvx.git]
/
src
/
chanserv.c
diff --git
a/src/chanserv.c
b/src/chanserv.c
index 0b5efcf07c5832b803f1a6c15b985627462d3b04..62d896c3091de5a701edc1137f9445f22b29b884 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-4172,7
+4172,7
@@
cmd_list_users(struct userNode *user, struct chanNode *channel, unsigned int arg
}
free(lData.table.contents[0]);
free(lData.table.contents);
- reply("CSMSG_TOTAL_USERS",
lData.table.length
,channel->name);
+ reply("CSMSG_TOTAL_USERS",
(lData.table.length - 1)
,channel->name);
return 1;
}