Problems with opers...

These are old archives. They are kept for historic purposes only.
Post Reply
MAX-k

Problems with opers...

Post by MAX-k »

Hello,

I've recently downloaded UnrealIRCD...
And i can't add any opers!
Here is my code:

Code: Select all

oper MAX-k {
        class           clients;
        password "pass";
from {
         userhost (*@*);
         };
        flags
        {
                netadmin;
                global;
        };
};
Can you tell me what's wrong in my code?
Tanks.

PS: I'm so beginner in irc servers.. so pls, be nice! :)
PS2: Sorry for my bad English...
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

it doesn't follow the syntax used in the oper block.

Code: Select all

 oper login { 
     class clients; 
     from { 
        userhost ident@host;
     }; 
     password "PaSsWoRd";
     flags
     { 
       flags here*;
     };
     OR
     flags "old type flags, like OAaRD";
 };

_MiF_
Posts: 15
Joined: Mon May 03, 2004 5:58 pm
Location: Israel
Contact:

Change it to this:

Post by _MiF_ »

Code: Select all

oper MAX-k { 
        class           clients; 
        password "pass"; 
from { 
         userhost *@*; 
         }; 
        flags 
        { 
                netadmin; 
                global; 
        }; 
};
Best regards, _MiF_
Ron2K

Post by Ron2K »

That still doesn't follow the proper syntax! I don't know whether that will work, but here's what should be used (just to be on the safe side):

Code: Select all

oper MAX-k { 
     class clients; 
     from { 
        userhost *@*; 
     }; 
     password "pass"; 
     flags 
     { 
       netadmin; 
       global:
     }; 
 }; 
Just swap the userhost and password around and you're complying with the correct syntax.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Post by katsklaw »

Uhm .. mine has to be correct .. I took if directly from my working O:Line (omitting real info of course).
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

With only maybe 2 exceptions, the order of the directives inside a config block is completely irrelevant.
-- codemastr
Ron2K

Post by Ron2K »

Oh, ok.

*Ron remembers that for future reference...*
Post Reply