Oper Block

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

Locked
Tiny
Posts: 17
Joined: Sun Dec 27, 2015 9:43 pm

Oper Block

Post by Tiny » Sat Jan 09, 2016 4:32 am

I have been trying to set the Oper blocks up and I cant seem to get my head round this new one at all I would like to know what I am doing wrong here.

Code: Select all

oper Tiny {
	class opers;
	mask *@*;
	password "$t=" { sha1; };
	operclass netadmin-with-override {
		privileges {
		privacy;
		chat;
		channel;
		client;
		immune;
		notice;
		self;
		server { opermotd; info; close; remote; module; rping; dns; addline; rehash; description; addmotd; addomotd; tsctl; };
		kill;
		tkl { shun; zline; kline; gline; };
		route;
		spamfilter;
		trace;
		who;
		sajoin;
		sapart;
		samode;
		servicebot { deop; kill; };
		override { see; };
		map;
};
	swhois "is a Network Administrator";
	operclass netadmin-with-override;
	snomask "oOCAaNrRDhgwnFSsGcLKkbzZtvqHWXde";
};

Syzop
UnrealIRCd head coder
Posts: 1957
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Oper Block

Post by Syzop » Sun Jan 10, 2016 5:24 pm

You better tell us what the problem is exactly that you are experiencing. Now we can only guess :)

Anyway, you should at least remove the whole "operclass netadmin-with-override {" you had within your oper { block. Such an operclass definition should never be within your oper block.

So, better:

Code: Select all

oper Tiny {
	class opers;
	mask *@*;
	password "............." { sha1; };
	swhois "is a Network Administrator";
	operclass netadmin-with-override;
	snomask "oOCAaNrRDhgwnFSsGcLKkbzZtvqHWXde";
};
(see also Oper block - example)

Locked