commit 234b91514e652597355ddeb495eab02d88608fe3
parent c4464d8f4b577f76771979bbdab006bbb2a67af2
Author: hhvn <dev@hhvn.uk>
Date: Mon, 16 May 2022 01:11:58 +0100
Always allow /close on channels
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/commands.c b/src/commands.c
@@ -1562,7 +1562,7 @@ command_close) {
}
if (chp) {
- if (serv_ischannel(sp, chp->name) && !chp->old) {
+ if (serv_ischannel(sp, chp->name)) {
serv_write(sp, Sched_connected, "PART %s\r\n", chp->name);
chan_remove(&sp->channels, chp->name);
} else {