how i can disable this command ???
/sethost, /chghost, /chgident, /chgname. /setident
thanks
How to disable this command ??
Fairly easily,
Don't load commands.so/commands.dll,
instead load the .so/dll of every command that you DO want
(ie everything there EXCEPT m_chg* and m_set*
Beware though, i think disabling sethost might stop hostserv working.
Don't load commands.so/commands.dll,
instead load the .so/dll of every command that you DO want
(ie everything there EXCEPT m_chg* and m_set*
Beware though, i think disabling sethost might stop hostserv working.
-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]
Never heard of that before 
-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]
#define NO_USERMOD (IIRC) - this used to be in include/config.h until the advance ./Config was added.w00t wrote:Never heard of that before
However, there is another way to disable it, which is probably better because you can flip it on on-the-fly without recompiling. Read the documentation about set::allow-userhost-change - it affects normal users and IRCops, so when set to never, neither users nor ircops can use sethost, setident, chghost, or chgident. (chgname might still be enabled) The only downside to this approach is you'd disable host cloaking if you don't have x in your set::modes-on-connect, etc.
I think either way won't break things like HostServ, however, that rely on CHGHOST to set vhosts, etc. The module way would most certainly break HostServ however