Kill Protection Module for Netadmins (Usermode +K)
Kill Protection Module for Netadmins (Usermode +K)
Hello there,
I've coded and customized my first own UnrealIRCd module. The idea has been influenced by the +q mode which prevents IRCops from being kicked out of a channel. It adds a new Usermode (+K) which prevents NetAdmins from being killed by other IRC operators. I know that similiar modules already exist but I didn't find one which lets the Netadmin decide if he wants the be protected or not with setting a Usermode. I've taken some example code from other modules in order to get more familiar with coding unreal modules.
The module can be found there:
http://www.mburki.com/src/modules/m_killprotect.c
Please let me know whether you find it useful or not. Tell me your thoughts. Suggestions are always welcome.
Thanks
Darwin
I've coded and customized my first own UnrealIRCd module. The idea has been influenced by the +q mode which prevents IRCops from being kicked out of a channel. It adds a new Usermode (+K) which prevents NetAdmins from being killed by other IRC operators. I know that similiar modules already exist but I didn't find one which lets the Netadmin decide if he wants the be protected or not with setting a Usermode. I've taken some example code from other modules in order to get more familiar with coding unreal modules.
The module can be found there:
http://www.mburki.com/src/modules/m_killprotect.c
Please let me know whether you find it useful or not. Tell me your thoughts. Suggestions are always welcome.
Thanks
Darwin
-
- Posts: 29
- Joined: Mon Jun 20, 2005 2:51 pm
-
- Posts: 29
- Joined: Mon Jun 20, 2005 2:51 pm
error code
After loading this module in the Unreal3.2 map, changing my unrealird.conf en rehashing i get the error code:
unrealircd.conf:36: loadmodule src/modules/m_killprotect.c: failed to load: tmp/C6474F3C.m_killprotect.c: invalid ELF header
Can someone help me with this error?
Thank you verry much...
KinG
unrealircd.conf:36: loadmodule src/modules/m_killprotect.c: failed to load: tmp/C6474F3C.m_killprotect.c: invalid ELF header
Can someone help me with this error?
Thank you verry much...
KinG
Why are you trying to load a .c? You need to compile a module before you can use it.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
ooops
Yeps...
I'm sorry. I've indeed tried to load it with the4 c file....
I've got a friend who had helped me with making the module etc.
I've now load it and everything works.
thanks again, learning every day....
KinG
Thanks again for de maker of this module.
I'm sorry. I've indeed tried to load it with the4 c file....
I've got a friend who had helped me with making the module etc.
I've now load it and everything works.
thanks again, learning every day....
KinG
Thanks again for de maker of this module.
-
- Posts: 15
- Joined: Sat Apr 23, 2005 12:09 pm