Halfops

These are old archives. They are kept for historic purposes only.
Post Reply
nomad438

Halfops

Post by nomad438 »

in what file would i find the halfops feature, /src/what. i am just trying to get a feel for the code, and trying to pick up on some stuff, and i would like to see how the coding makes the feature work
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Behind such questions usually there are hidden intentions to modify the UnrealIRCd source (that might not be right in case of you, thought). On the other hand, I have a feeling that your question just proves that you don't have knowledge of the C programming language, because if you know C, you should be able to find everything you want. And if I tell you the solution, that would incline others to have a look at the source and alter it. For these reasons, I'm not sure whether it's the best idea to answer your question, sorry.
Ron2K

Post by Ron2K »

You could always PM him...

EDIT: Oh wait - if he's probably going to alter the source, maybe not.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

I don't quite know how looking at the code will give you a "feel" for how it works. It works exactly like you would think it would. When setting +/-h it checks to make sure the setter is Uline, Server, or +o or greater. It then sets the mode. Then when you do some command like /kick, it tests if you have +h. I don't really know why you would need to see the code for it, it seems very straightforward.
-- codemastr
Post Reply