Page 1 of 1

Channels do not remain "persistent" on unrealircd 5.0.6

Posted: Wed Dec 09, 2020 11:17 pm
by Suratka
Hello everyone.
When I put a Persistent channel or from / mode #chan +P
or from /msg operserv, if the channels do not have a member in the access list, they unregister. I wanted to know if it is a defect or if I am doing something wrong. In any case I would like to solve it. Thanks.

Re: Channels do not remain "persistent" on unrealircd 5.0.6

Posted: Thu Dec 10, 2020 6:24 am
by Syzop
I cannot reproduce that problem, although I am on 5.0.7 (but nothing changed between .6 and .7 in this respect to my knowledge).

Note that +P is not related to chanserv and/or services.

This is the expected +P behavior:

Code: Select all

JOIN #test
:c5667!x@Mask-4E7B8307 JOIN :#test
:maintest.test.net 332 c5667 #test :hello everyone
:maintest.test.net 333 c5667 #test maintest.test.net 1588230567
:maintest.test.net 353 c5667 = #test :c5667
:maintest.test.net 366 c5667 #test :End of /NAMES list.
mode #test
:maintest.test.net 324 c5667 #test +ntrGPSClH 123 200:1440m 
:maintest.test.net 329 c5667 #test 1587837943
As you can see thanks to +P the topic was preserved, the modes are still set, etc, even though this is the "first user" joining.

Re: Channels do not remain "persistent" on unrealircd 5.0.6

Posted: Thu Dec 10, 2020 7:23 pm
by Suratka
I'm sorry maybe I'm incompetent and the mode + P has nothing to do with my case.
My problem is that when I register a channel, it normally unregisters itself when the days that you have set in chanserv pass "in my case 90 days and no longer 21 days as default.
Well I would like to assign to a specific channel, for example: #opers, #services #irchelp, the role "permanent", "" persistent ", in a few words I don't want them to unregister even if there is no one in the access list.
I noticed that it is not possible to do this and perhaps I confused and thought wrong that the "+ P" command was for me.
and ah this point, after reading your answer, I seem to have understood that the mode + P is to make the TOPIC "persistent".
I just want certain channels to NEVER deregister. I also tried with / cs set persist #channel on,
but it doesn't do anything other than add mode + P
and it is equivalent to the simple command: / mode #channel + P

:D :D :D :D :D

Re: Channels do not remain "persistent" on unrealircd 5.0.6

Posted: Thu Dec 10, 2020 7:50 pm
by Lord255
Suratka, you need to set noexpire to the channel which you want to never expire.
persistent channel is a diff thing.

see more details: https://wiki.anope.org/index.php/2.0/Modules/cs_set
(btw this is an anope related question. :))

Re: Channels do not remain "persistent" on unrealircd 5.0.6

Posted: Thu Dec 10, 2020 9:16 pm
by Suratka
I'm sorry.
and that in Italian "persistent" also translated literally has this meaning.
ok thank you for your availability. : *

Re: Channels do not remain "persistent" on unrealircd 5.0.6

Posted: Thu Dec 10, 2020 10:16 pm
by Lord255
no worries.
noexpire is what you looking for. see the prev url and / or you can google for like "anope chanserv noexpire" :)
enjoy.