Page 1 of 1

[Request] No Part Mode

Posted: Tue Jan 23, 2007 9:18 pm
by Jagger
Would it be possible to make a mode that only IRCOps can put on a channel where anybody that joins (by choice or force) would not be able to part unless they have the can_override flag or are an ircop? this would help when using os_notinchanlist for anope and when the stray xdcc catchers part as soon as you make them join. :P any help would be appreciated.

Posted: Tue Jan 23, 2007 11:45 pm
by Stealth
This would be possible, but it would not work with many clients.

Take mIRC for example. You close the window to part the channel, and the server declines the PART. You are in a channel you have no window for. I don't know what mIRC will do with the messages for that channel (if it doesn't crash), they will likely go to the status window and be ignored by the user.

The best thing you can do if you want a channel users cannot part, is put a bot in the unpartable channels to SAJOIN the user back into the channel as soon as they part it.

Posted: Wed Jan 24, 2007 9:54 am
by JanisB
<11:52:49> * Joins: Gathers
<11:52:50> * Parts: Gathers

<11:52:49> <Gathers> [11:52] joined #gvjqwugwqw but didn't want to!

Welcome to flood-world. IMO bad, bad idea...

Posted: Wed Jan 24, 2007 9:12 pm
by Jagger
Stealth wrote:This would be possible, but it would not work with many clients.

Take mIRC for example. You close the window to part the channel, and the server declines the PART. You are in a channel you have no window for. I don't know what mIRC will do with the messages for that channel (if it doesn't crash), they will likely go to the status window and be ignored by the user.

The best thing you can do if you want a channel users cannot part, is put a bot in the unpartable channels to SAJOIN the user back into the channel as soon as they part it.
i understand this, but i dont need them to see any messages, as none go by anyway. all i do is a 2 day gzline on the client stating they need to be in any channels, what i do is use the anioe module to force clients in there, the xdcc catchers part immedatly, so a bot would only cause MORE flood. what i want to do is lock the clients into it, just like the +U in the courtroom module.:)