Page 1 of 1
Unknown Oper::Class
Posted: Sat Feb 05, 2005 10:04 pm
by McTerry
Ok.. I never had problems with UnrealIRCd before.
So it's my time to whine a bit.
========================================
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)

Posted: Sat Feb 05, 2005 11:15 pm
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.
Posted: Sun Feb 06, 2005 5:14 am
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?
Posted: Sun Feb 06, 2005 5:16 am
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).
Posted: Sun Feb 06, 2005 5:28 am
by White_Magic
default == clients && servers?
using clients i mean,
Posted: Sun Feb 06, 2005 5:14 pm
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."
Posted: Sun Feb 06, 2005 10:15 pm
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

Posted: Mon Feb 07, 2005 12:04 am
by White_Magic
sorry codemstr i mean, default allows both clients and servers to connect?
Posted: Mon Feb 07, 2005 1:32 am
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.
Posted: Mon Feb 07, 2005 3:59 am
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

.
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{}...
Posted: Tue Feb 08, 2005 8:39 pm
by McTerry
oh I see. I need to remember this.
Good info aquanight. Thx.