1
0
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:
DukePyrolator
2009-10-11 04:15:32 +00:00
parent ba62e7be62
commit 2896b388d7
+3
View File
@@ -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");