Page 1 of 1

SaJoin

Posted: Fri Apr 09, 2004 5:54 am
by OhHenry26
I was wondering if it's possible to remove the /sajoin command from UnrealIRCd so that opers on other servers cannot sajoin people on your server. Is this possible at all?

Thanks

--OhHenry26

Posted: Fri Apr 09, 2004 1:35 pm
by aquanight
/sajoin is restricted to users with +a (services administrator, services-admin in config). If you don't want opers to have sajoin, don't give them that flag.

But be warned that the net-admin flag implies services-admin, so if you are a netadmin, you will have /sajoin whether you like it or not.

Posted: Fri Apr 09, 2004 5:03 pm
by AngryWolf
Alternative solution: if you don't trust in your opers, drop some of your server links, and next time choose better operators.

Posted: Fri Apr 09, 2004 10:10 pm
by OhHenry26
Well, the problem isn't opers on my server, it's opers on OTHER servers that are annoying me. I guess it's not possible to remove the sajoin command completely? I remember with ircd-hybrid you could simply remove a module if you didn't want it, but I guess it's different in UnrealIRCd.

Thanks

--OhHenry26

Posted: Sat Apr 10, 2004 3:52 am
by codemastr
Well, the problem isn't opers on my server, it's opers on OTHER servers that are annoying me. I guess it's not possible to remove the sajoin command completely? I remember with ircd-hybrid you could simply remove a module if you didn't want it, but I guess it's different in UnrealIRCd.
Nope, it works the same way as Hybrid. It just requires you to "tweak" your config file a bit. Right now I assume you have:

loadmodule "src/modules/commands.so";

First step is change that to:
loadmodule "src/modules/m_*.so";

then in your shell:
mv src/modules/m_sajoin.so src/modules/disabled_m_sajoin.so

And /rehash and you should be good to go.

Posted: Sun Apr 11, 2004 3:29 am
by DeMiNe0
Note, that this must be done on ALL servers on the network. So the admin on the other server could put it back if he or she knows what they're doing.

Posted: Sun Apr 11, 2004 10:38 pm
by OhHenry26
Thanks!

Posted: Sun Apr 11, 2004 10:58 pm
by OhHenry26
Here's a little complication though...how would I do the same thing in windows?

Posted: Mon Apr 12, 2004 3:16 am
by codemastr
Well that's not a little complication, that's a major complication. Windows does not support modules. So you would have to recompile the IRCd yourself.