View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006465 | unreal | ircd | public | 2024-08-31 13:06 | 2024-08-31 16:31 |
| Reporter | PeGaSuS | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | Linux | OS | Ubuntu | OS Version | 22.04 |
| Summary | 0006465: Extban ~partmsg doesn't filter quit messages, only part ones | ||||
| Description | I've used extban `~partmsg` on a relayed/bridged channel to hide part/quit reasons to cut some info on the quit messages. While part reasons are correctly hidden/filtered, quit messages aren't | ||||
| Steps To Reproduce | 1) Type: /mode #channel +b ~partmsg:*!*@* 2) Part the channel with `/part #channel <part message>` and the part message is filtered/hidden 3) Quit with `/quit <quit message>` while on the channel and the quit message is displayed | ||||
| Tags | No tags attached. | ||||
| 3rd party modules | |||||
|
|
Can confirm this behavior on our network. According to the docs: ~partmsg should hide part/quit messages for matching users (https://www.unrealircd.org/docs/Extended_bans). However, only /part reasons are blocked—/quit reasons are still visible. Note: I've only tested this as a regular (non-oper) user. |
|
|
In the `quit` module, it seems that ~partmsg extbans only ever get applied to QUIT messages when the config setting `set::part-instead-of-quit-on-comment-change` is already enabled. Without this setting enabled, no QUIT message checks are actually made. Source: https://github.com/unrealircd/unrealircd/blob/unreal60_dev/src/modules/quit.c#L105 |