View Issue Details

IDProjectCategoryView StatusLast Update
0001722Anope Stable (2.0.x series)Generalpublic2020-05-01 00:36
ReporterKoragg Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinux/UnixOSDebian 
Summary0001722: cs set persist off does not always unset chanmode +P on the first time setting it off
DescriptionIt appears that if someone does /cs set persist #chan off for the first time, +P is unset as normal, but every subsequent time if persist is set on, then persist must be set off TWICE to unset +P. This issue occurs on InspIRCd and UnrealIRCd confirmed. InspIRCd 2.0.17 and UnrealIRCd 4.2.3-rc1

Steps To Reproduce1) Register a channel and run /cs set persist #chan on (or have persist in the default options for newly registered channels, it occurs in both cases).

2) /cs set persist #chan off (unsets +P as intended)

3) /cs set persist #chan on (sets +P as intended)

4) /cs set persist #chan off (from now on, one must run this command TWICE for +P to be unset on #chan and this is a multi IRCd issue, occuring on InspIRCd and UnrealIRCd for sure, likely on others as well).

Only solution to +P not being unset on /cs set persist #chan off on the first try is running the command twice.
Additional InformationThis requires a persistent/permanent channel mode on the IRCd, often (always?) channel mode +P thus it might be that ALL IRCd's employing such a channel mode are effected by this bug.
TagsNo tags attached.

Activities

Lord255

2020-02-15 13:35

reporter   ~0006872

hello.
this issue affects unreal v5.0.1 and 5.0.3.1 as well with anope v2.0.7.

so the issue is: have to do persist off twice to remove +P and the persist option from info.



--> joined the chan
* Now talking in #test123
* xxxxxxxxx sets mode: +nt


--> registered the channel, persist default set in chanserv.conf
* ChanServ (services@services.xxx) has joined #test123
* ChanServ sets mode: +rPaoq ChanServ ChanServ Lord255

--> cs info
-ChanServ- Information for channel #test123:
-ChanServ- Founder: Lord255
-ChanServ- Registered: Feb 15 05:14:53 2020 CST (17 seconds ago)
-ChanServ- Last used: Feb 15 05:15:10 2020 CST (now)
-ChanServ- Ban type: 2
-ChanServ- Mode lock: +ntP
-ChanServ- Options: Peace, Security, Secure founder, Signed kicks, Persistent, Topic retention

--> had to do cs set persist # off twice to remove +P
-ChanServ- Channel #test123 is no longer persistent.
-ChanServ- Channel #test123 is no longer persistent.
* ChanServ sets mode: -P

--> testing again, setting persist on
-ChanServ- Channel #test123 is now persistent.
* ChanServ sets mode: +P

--> disable persist; between options its still there, +P still set.
-ChanServ- Channel #test123 is no longer persistent.
-ChanServ- Information for channel #test123:
-ChanServ- Founder: Lord255
-ChanServ- Registered: Feb 15 05:14:53 2020 CST (1 minute ago)
-ChanServ- Last used: Feb 15 05:16:14 2020 CST (now)
-ChanServ- Ban type: 2
-ChanServ- Mode lock: +nt
-ChanServ- Options: Peace, Security, Secure founder, Signed kicks, Persistent, Topic retention

--> hitting disable again; CS removes +P and the option is gone
-ChanServ- Channel #test123 is no longer persistent.
* ChanServ sets mode: -P
-ChanServ- Information for channel #test123:
-ChanServ- Founder: Lord255
-ChanServ- Registered: Feb 15 05:14:53 2020 CST (1 minute ago)
-ChanServ- Last used: Feb 15 05:16:31 2020 CST (now)
-ChanServ- Ban type: 2
-ChanServ- Mode lock: +nt
-ChanServ- Options: Peace, Security, Secure founder, Signed kicks, Topic retention

Issue History

Date Modified Username Field Change
2019-05-01 13:56 Koragg New Issue
2020-02-15 13:35 Lord255 Note Added: 0006872