@@ -12,6 +12,7 @@
* Fix invites not being applied in -dynamicinvites channels when +i is set.
* Fix not handling auto-op in minutely channel rechecks.
* Fix auto-voice and auto-op not applying after a nick change.
+ * Don't truncate bot's join time on .reset.
# 1.4.6
* Disable demo TCL support by default to prevent confusion during build.
@@ -2122,7 +2122,8 @@ static int got315(char *from, char *msg)
force_join_chan(chan);
} else {
me->is_me = 1;
- me->joined = now; /* set this to keep the whining masses happy */
+ if (!me->joined)
+ me->joined = now; /* set this to keep the whining masses happy */
if (me_op(chan))
recheck_channel(chan, 2);
else if (chan->channel.members == 1)