Multiple Operators

These are old archives. They are kept for historic purposes only.
Post Reply
DJ24966
Posts: 26
Joined: Thu Nov 06, 2008 7:18 am

Multiple Operators

Post by DJ24966 » Fri Nov 07, 2008 10:49 pm

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.

zEkE
Posts: 111
Joined: Wed Apr 14, 2004 9:30 am
Location: Harrisonburg, VA
Contact:

Re: Multiple Operators

Post by zEkE » Sat Nov 08, 2008 4:07 am

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.
NetAdmin - irc.unitedchristianchat.net
http://www2.i-al.net/ircbots/

DJ24966
Posts: 26
Joined: Thu Nov 06, 2008 7:18 am

Re: Multiple Operators

Post by DJ24966 » Mon Nov 10, 2008 5:51 pm

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;
        };
};

[dx]
Posts: 107
Joined: Sat Jun 16, 2007 1:03 am

Re: Multiple Operators

Post by [dx] » Mon Nov 10, 2008 10:42 pm

You got some error? Oper is case sensitive, i think.

Post Reply