Page 1 of 1
Halfops
Posted: Fri Sep 03, 2004 4:00 am
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
Posted: Fri Sep 03, 2004 11:03 am
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.
Posted: Fri Sep 03, 2004 1:53 pm
by Ron2K
You could always PM him...
EDIT: Oh wait - if he's probably going to alter the source, maybe not.
Posted: Fri Sep 03, 2004 8:29 pm
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.