projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed cache asyncs caused by users rejoining the channel to fast
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_nicklist.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
b/src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
index 129d79cae1216f311f2c866c86e949974f04a07b..12311600c968eae3553612bd75c5a7949349f524 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_nicklist.c
@@
-129,7
+129,7
@@
static void neonserv_cmd_nicklist_async1(struct ClientSocket *client, struct Cli
int chanuser_count;
char statebuf[5];
char accessbuf[50];
int chanuser_count;
char statebuf[5];
char accessbuf[50];
- char viscountbuf[5];
+ char viscountbuf[5
0
];
int uaccess;
i = 3;
int uaccess;
i = 3;
@@
-278,7
+278,10
@@
static void neonserv_cmd_nicklist_async1(struct ClientSocket *client, struct Cli
accessbufpos += sprintf(accessbuf+accessbufpos, ")");
content[2] = accessbuf;
if(flags & NEONSERV_CMD_NICKLIST_FLAG_VISCOUNT) {
accessbufpos += sprintf(accessbuf+accessbufpos, ")");
content[2] = accessbuf;
if(flags & NEONSERV_CMD_NICKLIST_FLAG_VISCOUNT) {
- sprintf(viscountbuf, "%d", chanuser->visCount);
+ if(chanuser->flags & CHANUSERFLAG_PARTING)
+ sprintf(viscountbuf, "%d (\003P\003 %d)", chanuser->visCount, chanuser->old_visCount);
+ else
+ sprintf(viscountbuf, "%d", chanuser->visCount);
content[3] = viscountbuf;
}
table_add(table, content);
content[3] = viscountbuf;
}
table_add(table, content);