Unknown Oper::Class

These are old archives. They are kept for historic purposes only.
Post Reply
McTerry
Posts: 64
Joined: Tue Oct 19, 2004 12:42 am
Location: *.se
Contact:

Unknown Oper::Class

Post by McTerry »

Ok.. I never had problems with UnrealIRCd before.
So it's my time to whine a bit. :P

========================================

This is the message I get:
*** Notice -- oper.conf:5: illegal oper::class, unknown class 'clients' using default of class 'default'

This is how it looks like in the config:
oper McTerry {
class clients;
from {
userhost *@*;
};


etc.
etc.

========================================

I'm not sure what the problem can be.. It NEED to be CLIENTS what I know about.
I know this worked before. But for some days ago it showed this error.
Mabye I need to re-install UnrealIRCd.

And yeah.. I'm using 3.2.2 (Win32)

:cry:
BOOM!
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Make sure you have a clinets class in the main unrealircd.conf. If the classes are in any other files, Unreal will fail to load them properly.
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post by White_Magic »

i find this interesting
*** Notice -- oper.conf:5: illegal oper::class, unknown class 'clients' using default of class 'default'
seems the ircd is still using it?
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

White_Magic wrote:i find this interesting
seems the ircd is still using it?
What? Still using what? It says that "clients" failed so it is going to use "default" (a builtin class).
-- codemastr
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post by White_Magic »

default == clients && servers?

using clients i mean,
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

White_Magic wrote:default == clients && servers?

using clients i mean,
No. It's not using clients. It is using "default." I don't know what "default == clients && servers" means, "default == default."
-- codemastr
McTerry
Posts: 64
Joined: Tue Oct 19, 2004 12:42 am
Location: *.se
Contact:

Post by McTerry »

Stealth wrote:Make sure you have a clinets class in the main unrealircd.conf. If the classes are in any other files, Unreal will fail to load them properly.
Mabye this is the thing that causes this error. I recently put all sections into their each config files to see what would happend and if it would work.
It worked great a while until this error came up.
So I think I need to put back everything again :P
BOOM!
White_Magic
Posts: 267
Joined: Tue Jan 18, 2005 3:24 pm
Location: Scotland - United Kingdom

Post by White_Magic »

sorry codemstr i mean, default allows both clients and servers to connect?
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict :D
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

White_Magic wrote:sorry codemstr i mean, default allows both clients and servers to connect?
Ah, ok, now I understand. Yes, it will allow anyone.
-- codemastr
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

All classes can be used by both clients and servers. It comes down to a question of how the class is associated with the allow{} oper{} or link{} block. That is the only time a client class / server class distinction is made, and it's very thin one at that. The reason is, a class is just a set of connection parameters that can be applied toward both clients and servers. The only real distinction made is by you as you name your classes. So class Client can easily be specified for link::class, Unreal doesn't care :P .

The only time classes come into play when accepting connections is class::maxclients. Though, clever use of class::maxclients and allow::ip/hostname could result in effects similar to ban user{}...
McTerry
Posts: 64
Joined: Tue Oct 19, 2004 12:42 am
Location: *.se
Contact:

Post by McTerry »

oh I see. I need to remember this. :oops:
Good info aquanight. Thx.
BOOM!
Post Reply