diff options
| author | Nakidai <nakidai@disroot.org> | 2026-02-01 19:01:04 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-02-01 19:05:43 +0300 |
| commit | ac52bbe3427cda3bd2098ee35e06163885b21836 (patch) | |
| tree | 51387c4d5f8ebd56c19a345b2e34361c979579c8 /ircd.h | |
| parent | 32e81cb7a0d4f4b1b24674439e5a948b39725f2e (diff) | |
| download | libreircd-ac52bbe3427cda3bd2098ee35e06163885b21836.tar.gz libreircd-ac52bbe3427cda3bd2098ee35e06163885b21836.zip | |
Refactor QUIT message sending
After seeing same announcing code second time I decided it should be done before an actual quit in loop.c. Plus, channel exiting is now done in user_remove().
Diffstat (limited to 'ircd.h')
| -rw-r--r-- | ircd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ircd.h b/ircd.h index fcc6ddc..0cde9e0 100644 --- a/ircd.h +++ b/ircd.h @@ -55,6 +55,7 @@ struct Peer BIT(SNOTICE), } modes; char buf[MESSAGE_MAX]; + char quit[PEER_QUIT_MAX]; size_t recvd, channels_c; time_t last, ping; }; |