diff options
author | Test_User <hax@andrewyu.org> | 2024-06-07 23:53:41 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-07 23:53:41 -0400 |
commit | b8b1b474d0a270ed56745db5f6a3ecf717b35310 (patch) | |
tree | 380103b74af72df54ed5819199bb1c892741f161 /server_network.c | |
parent | 63f6501accb8c263e7d9890828210ec379f8a65a (diff) | |
download | coupserv-b8b1b474d0a270ed56745db5f6a3ecf717b35310.tar.gz coupserv-b8b1b474d0a270ed56745db5f6a3ecf717b35310.zip |
Use the proper timestamp
Diffstat (limited to '')
-rw-r--r-- | server_network.c | 2 |
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]; |