aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-07 23:53:41 -0400
committerTest_User <hax@andrewyu.org>2024-06-07 23:53:41 -0400
commitb8b1b474d0a270ed56745db5f6a3ecf717b35310 (patch)
tree380103b74af72df54ed5819199bb1c892741f161
parent63f6501accb8c263e7d9890828210ec379f8a65a (diff)
downloadcoupserv-b8b1b474d0a270ed56745db5f6a3ecf717b35310.tar.gz
coupserv-b8b1b474d0a270ed56745db5f6a3ecf717b35310.zip
Use the proper timestamp
-rw-r--r--server_network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server_network.c b/server_network.c
index d5e5c2b..7ce3300 100644
--- a/server_network.c
+++ b/server_network.c
@@ -550,6 +550,8 @@ int fjoin_handler(struct string sender, uint64_t argc, struct string *argv) {
set_table_index(&channel_list, argv[0], channel);
}
+ if (timestamp < channel->ts)
+ channel->ts = timestamp;
struct string userlist = argv[userlist_offset];