projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
583a691
)
subtract REWHO_TIMEOUT from UserNode::last_who on Registered rejoin to force re-WHO
author
pk910
<philipp@zoelle1.de>
Wed, 12 Sep 2012 20:43:21 +0000
(22:43 +0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 12 Sep 2012 20:43:21 +0000
(22:43 +0200)
src/IRCParser.c
patch
|
blob
|
history
diff --git
a/src/IRCParser.c
b/src/IRCParser.c
index cb976ce2dec92afb480322642bb17644d71545f2..ff244a05043c98384c978b0dca68e8bca1a01be2 100644
(file)
--- a/
src/IRCParser.c
+++ b/
src/IRCParser.c
@@
-334,6
+334,8
@@
static IRC_CMD(raw_join) {
event_registered(user, from);
user->flags &= ~USERFLAG_WAS_REGISTERING;
+ if(user->last_who > REWHO_TIMEOUT)
+ user->last_who -= REWHO_TIMEOUT;
event_join(chanuser);
} else if(!(chan->flags & CHANFLAG_RECEIVED_USERLIST)) {