Channels do not remain "persistent" on unrealircd 5.0.6

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
Suratka
Posts: 65
Joined: Thu Nov 14, 2019 12:32 am
Contact:

Channels do not remain "persistent" on unrealircd 5.0.6

Post 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.
Syzop
UnrealIRCd head coder
Posts: 1973
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

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

Post 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.
Suratka
Posts: 65
Joined: Thu Nov 14, 2019 12:32 am
Contact:

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

Post 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
Lord255
Posts: 67
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

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

Post 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. :))
Suratka
Posts: 65
Joined: Thu Nov 14, 2019 12:32 am
Contact:

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

Post by Suratka »

I'm sorry.
and that in Italian "persistent" also translated literally has this meaning.
ok thank you for your availability. : *
Lord255
Posts: 67
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

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

Post 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.
Post Reply