Page 1 of 1

Multiple Operators

Posted: Fri Nov 07, 2008 10:49 pm
by DJ24966
Ok, I can get it to accept the first oper in my config, but it will not accept the second. It say's "Unknown Oper"

Here is what I have.

Code: Select all

oper DJ24966 {
	class		clients;
	from {
		userhost *@*;
	};
	password "PASSHERE;
        flags
        {
                netadmin;
                can_rehash;
                can_localkill;
                can_globalkill;
                local;
                can_globalroute;
                can_localroute;
                can_zline;
                can_gzline;
                can_gkline;
                global;
                can_kline;
                can_unkline;
                can_localnotice;
                can_globalnotice;
                get_umodew;
                can_override;
                can_addline;
                get_umodew;
                get_host;
                can_dccdeny;
        };
}
oper Kevin {
	class		clients;
	from {
		userhost *@*;
	};
	password "PASSHERE";
        flags
        {
                netadmin;
                can_rehash;
                can_localkill;
                can_globalkill;
                local;
                can_globalroute;
                can_localroute;
                can_zline;
                can_gzline;
                can_gkline;
                global;
                can_kline;
                can_unkline;
                can_localnotice;
                can_globalnotice;
                get_umodew;
                can_override;
                can_addline;
                get_umodew;
                get_host;
                can_dccdeny;
        };
};
Any help is greatly appreciated.

Re: Multiple Operators

Posted: Sat Nov 08, 2008 4:07 am
by zEkE
Do you get any errors when rehashing?

I see two faults, though it may be in presentation. The first "Password" field has an opening ", but no closing " before the ;

Secondly, the first block is closed with a } only, and it should have a semicolon after this.

If these two do not fix the error, we will need to see the rehash-errors you receive, and potentially more of the config.

Re: Multiple Operators

Posted: Mon Nov 10, 2008 5:51 pm
by DJ24966
Sorry for delay, I've been busy as of late. I think I made those errors when I copied it out of my config. I fixed, them, but I still get the same error, server starts fine, but /oper Kevin password is not recognized as an operator.

Code: Select all

oper DJ24966 {
	class		clients;
	from {
		userhost *@*;
	};
	password "pass";
        flags
        {
                netadmin;
                can_rehash;
                can_localkill;
                can_globalkill;
                local;
                can_globalroute;
                can_localroute;
                can_zline;
                can_gzline;
                can_gkline;
                global;
                can_kline;
                can_unkline;
                can_localnotice;
                can_globalnotice;
                get_umodew;
                can_override;
                can_addline;
                get_umodew;
                get_host;
                can_dccdeny;
        };
};
oper Kevin {
	class		clients;
	from {
		userhost *@*;
	};
	password "pass";
        flags
        {
                netadmin;
                can_rehash;
                can_localkill;
                can_globalkill;
                local;
                can_globalroute;
                can_localroute;
                can_zline;
                can_gzline;
                can_gkline;
                global;
                can_kline;
                can_unkline;
                can_localnotice;
                can_globalnotice;
                get_umodew;
                can_override;
                can_addline;
                get_umodew;
                get_host;
                can_dccdeny;
        };
};

Re: Multiple Operators

Posted: Mon Nov 10, 2008 10:42 pm
by [dx]
You got some error? Oper is case sensitive, i think.