View Issue Details

IDProjectCategoryView StatusLast Update
0005134unrealircdpublic2018-09-09 17:52
Reportercapitaine Assigned Tosyzop  
Status resolvedResolutionfixed 
Product Version4.0.18 
Fixed in Version4.2.0 
Summary0005134: Chanmode +z can't be overriden
DescriptionWe have a +z channel but a bot couldn't join it, no matter the configuration.
With or without /invite and /sajoin

Only a successful scenario : when another ircop invite the bot and the bot is netadmin-with-override

But a netadmin-with-override alone cannot /invite or /sajoin himself to the chan.
Steps To Reproducejoin :#testers 489 test #testers :Cannot join channel (SSL is required)

oper bb :qwe123
:test MODE test :+os 008 test +kcfvGqSsob :Server notice mask 381 test :You are now an IRC Operator 375 test :- Message of the Day - 372 test :- IRC Operator Message of the Day 372 test :- ! 376 test :End of /MOTD command. NOTICE test :from OperServ: USERS: test!test@localhost is now an IRC operator.

join :#testers 489 test #testers :Cannot join channel (SSL is required)

whois :test 311 test test test foo-CD2727B1 * :Tester 379 test test :is using modes +owsxp +kcfvGqSsob 378 test test :is connecting from *@localhost 312 test test 313 test test :is an IRC Operator (bb) [bobot] 317 test test 32 1534430145 :seconds idle, signon time 318 test test :End of /WHOIS list.

invite test :#testers

join :#testers 489 test #testers :Cannot join channel (SSL is required)

sajoin test :#testers NOTICE test :You cannot SAJOIN test to #testers because the channel is +z and the user is not connected via SSL
Additional InformationConfiguration :

operclass bobot
    parent netadmin-with-override;

oper bb
    password "qwe123";
    class clients;
    operclass bobot;
    maxlogins 1;
TagsNo tags attached.
3rd party modules



2018-09-09 17:24

administrator   ~0020308

Last edited: 2018-09-09 17:25

I don't think SAJOIN should walk through it: it could be unintended and setting -z/-Z is quite major.

But... self-invite/override should allow you to walk through it so not doing that is a bug. (It will then set mode -Z)
If I'm not mistaken this used to work, so must have been broken by some commit, possibly quite a while ago..


2018-09-09 17:51

administrator   ~0020310

Ok, I think I found a solution. It isn't perfect as it may also be triggered by invites not initiated by yourself, but it works well enough I think.

Result is expected in the override case: NOTICE hai :*** OperOverride -- op (x@localhost) invited him/herself into #test (overriding +z).
:[email protected] JOIN :#test NOTICE #test :User 'op' joined and is not connected through SSL, setting channel -Z (insecure) MODE #test -Z

Thanks for the report.


2018-09-09 17:52

administrator   ~0020311

commit 5445a009a3c126a32b2046e28535b13548cb949c (HEAD -> unreal40, origin/unreal40, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Sun Sep 9 17:49:32 2018 +0200

    Fix bug preventing (insecure) IRCops from overriding +z.
    Reported by capitaine in

Issue History

Date Modified Username Field Change
2018-08-16 17:06 capitaine New Issue
2018-09-09 17:24 syzop Note Added: 0020308
2018-09-09 17:25 syzop Note Edited: 0020308
2018-09-09 17:25 syzop Assigned To => syzop
2018-09-09 17:25 syzop Status new => acknowledged
2018-09-09 17:51 syzop Status acknowledged => resolved
2018-09-09 17:51 syzop Resolution open => fixed
2018-09-09 17:51 syzop Fixed in Version => 4.2.0
2018-09-09 17:51 syzop Note Added: 0020310
2018-09-09 17:52 syzop Note Added: 0020311