mirror of
https://github.com/anope/anope.git
synced 2026-06-28 13:56:39 +02:00
on inspircd12, we now check for m_servprotect and give +k to our pseudo clients
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2548 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1335,6 +1335,9 @@ int anope_event_capab(const char *source, int ac, const char **av)
|
||||
if (strstr(av[1], "m_hidechans.so")) {
|
||||
has_hidechansmod = 1;
|
||||
}
|
||||
if (strstr(av[1], "m_servprotect.so")) {
|
||||
ircd->pseudoclient_mode = "+Ik";
|
||||
}
|
||||
} else if (strcasecmp(av[0], "END") == 0) {
|
||||
if (!has_globopsmod) {
|
||||
send_cmd(NULL, "ERROR :m_globops is not loaded. This is required by Anope");
|
||||
|
||||
Reference in New Issue
Block a user