diff options
| author | Nakidai Perumenei <nakidai@disroot.org> | 2026-12-02 20:29:21 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-01-30 15:32:45 +0300 |
| commit | 559fac39d83083f1720b235e33a8219ed07de653 (patch) | |
| tree | c5e48f1e5513dbefb14dd2f88f2393a2bee3bffc /ircd.h | |
| parent | 20770f6fad769122248214ffe42268aa61c189cd (diff) | |
| download | libreircd-559fac39d83083f1720b235e33a8219ed07de653.tar.gz libreircd-559fac39d83083f1720b235e33a8219ed07de653.zip | |
Fix channel remove
Channels are removed just like users, hence they have the same problem as users had before: when channel is removed, links to it must be updated. For users that was fixed[1], for users this commit provides the fix. [1] Commit where user quit was fixed - 63c0a8860459c0c9bf3b66d4d4ec631ece4bf56e
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 2c4b144..8def73a 100644 --- a/ircd.h +++ b/ircd.h @@ -92,6 +92,7 @@ void user_remove(size_t pid); int channel_join(struct Channel *channel, struct Peer *peer); int channel_exit(struct Channel *channel, struct Peer *peer); +void channel_remove(size_t cid); int parse_message(char *buf, struct Message *msg); int handle(struct Peer *peer); |