projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2010df
)
fixed cmd_users counter (-1)
author
pk910
<philipp@zoelle1.de>
Thu, 21 Jul 2011 01:23:34 +0000
(
03:23
+0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 21 Jul 2011 01:23:34 +0000
(
03:23
+0200)
src/chanserv.c
patch
|
blob
|
history
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;
}