Page 1 of 1

channel:override:invite:self

Posted: Wed May 15, 2019 12:46 am
by pt
What format do I use to add this to the netadmin block please?

channel:override:invite:self

My netadmin block is this:

/* Network Administrator */
operclass netadmin {
permissions {
chat;
channel { operonly; see; override { flood; }; };
client;
immune;
self;
server { opermotd; info; close; module; dns; rehash;
remote; description; addmotd;
addomotd; tsctl; };
route;
kill;
server-ban;
sacmd;
services;
};
};

Re: channel:override:invite:self

Posted: Wed May 15, 2019 6:35 am
by CrazyCat
You may try something like:

Code: Select all

/* Network Administrator */
operclass netadmin {
   permissions {
      chat;
      channel {
         operonly; see; override {
            flood; invite { self; }; };
      };
      client;
      immune;
      self;
      server { opermotd; info; close; module; dns; rehash; remote; description; addmotd; addomotd; tsctl; };
      route;
      kill;
      server-ban;
      sacmd;
      services;
   };
};

Re: channel:override:invite:self

Posted: Wed May 15, 2019 11:46 pm
by pt
I copied and past that line in the the file and it still saids #test unable to join channel (invite only)

Re: channel:override:invite:self

Posted: Fri May 17, 2019 4:55 am
by CrazyCat
Did you invite yourself to #test ?

As said in the documentation:
Allow the user to /INVITE him/herself to the channel. This is called OperOverride and will make it so the IRCOp can bypass any channel restrictions (eg: +k and +i).
It means that with this permission, you're allowed to invite yourself if you're not on the channel.