View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004442 | unreal | module api | public | 2015-10-29 14:47 | 2015-10-30 09:40 |
Reporter | blank | Assigned To | syzop | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 4.0.0-rc3 | ||||
Summary | 0004442: -P doesn't destroy an empty channel | ||||
Description | 13:46 [localhost] -!- #chat_en_español 0 [+ntP] /mode #chat_en_español -P 13:46 [localhost] -!- #chat_en_español 0 [+nt] | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
Strange. I can't reproduce this. Are you sure it's preserved? Could you set a topic and test again to see if the topic is still there? +nt may just be your default modes. |
|
@syzop I guess you are on the channel when you do /mode # -P where as I wasn't? |
|
Oh thats what you mean. Channels are only destroyed on part. Hmm. Ok bug understood. |
|
Sorry :p |
|
Hi, the permanent channel mode module is currently hooked to HOOKTYPE_CHANNEL_DESTROY only. Need to add functions to handle cases in which the channel mode is removed and user count is 0. Also, we need to consider cases in which this module is unloaded. |
|
Fixed, thanks! :) [unreal40 9dc97a0] Destroy channel when oper does (SA)MODE #channel -P on a channel with 0 users. Reported by blank (0004442). https://github.com/unrealircd/unrealircd/commit/9dc97a0324e2a9edf47a631c232536262c36505c ** dboyz: sorry couldn't be bothered to deal with module unloading cases ;). Too rare and easily fixed by JOIN+PART. |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-29 14:47 | blank | New Issue | |
2015-10-29 17:55 | syzop | Note Added: 0018823 | |
2015-10-29 19:43 | blank | Note Added: 0018826 | |
2015-10-29 19:44 | blank | Note Edited: 0018826 | |
2015-10-29 19:44 | blank | Note Edited: 0018826 | |
2015-10-29 20:15 | syzop | Note Added: 0018829 | |
2015-10-29 20:56 | blank | Note Added: 0018830 | |
2015-10-30 03:39 | dboyz | Note Added: 0018831 | |
2015-10-30 09:40 | syzop | Note Added: 0018834 | |
2015-10-30 09:40 | syzop | Status | new => resolved |
2015-10-30 09:40 | syzop | Fixed in Version | => 4.0.0-rc3 |
2015-10-30 09:40 | syzop | Resolution | open => fixed |
2015-10-30 09:40 | syzop | Assigned To | => syzop |
2017-01-06 15:48 | syzop | Category | module => module api |