Page 1 of 1
Disabling whois function.
Posted: Mon Oct 11, 2004 6:58 am
by Xallar
Can anyone tell me which file to modify for Unrealircd Unix version 3.2.1 to disable whois command?
Posted: Mon Oct 11, 2004 8:47 am
by Dukat
Modifying the source is not supported.
However, if you absolutly need to disable a command (for your botnet server?), there are two possibilities:
Use AngryWolf's (
http://www.angrywolf.org) experimental Cmdshun module or just don't load the whois module:
Change the line
loadmodule "src/modules/commands.so";
to
loadmodule "src/modules/m_*.so";
This will load all the modules named m_*.so in your module directory (= you have all the same modules loaded that are in commands.so). Now you just have to rename the whois module ("m_whois.so") to something different (e.g. "original_m_whois.so")