Hi.
I am trying to disable the /setname command. The users on our irc are
using a custom clients and the real name is made automatically.
This has to remain untouchable by the users - hence the /setname should not change a thing.
Is there any way to make this happen? I haven't found anything in Unreal and probably this can be handled by a service / bot better.
Thanks
disable /setname | realname change
Moderator: Supporters
-
- Former UnrealIRCd head coder
- Posts: 811
- Joined: Sat Mar 06, 2004 8:47 pm
- Location: United States
- Contact:
The nice thing about modules is, you can get rid of commands you don't want. In your unrealircd.conf you have:
loadmodule "src/modules/commands.so";
right?
Ok, here is what you do:
mv src/modules/m_setname.so src/modules/m_setname.so.disabled
Then change the loadmodule line to read:
loadmodule "src/modules/m_*.so";
And then /rehash. Magically, /setname is gone since it is no longer loaded into the IRCd.
loadmodule "src/modules/commands.so";
right?
Ok, here is what you do:
mv src/modules/m_setname.so src/modules/m_setname.so.disabled
Then change the loadmodule line to read:
loadmodule "src/modules/m_*.so";
And then /rehash. Magically, /setname is gone since it is no longer loaded into the IRCd.
-- codemastr