From 2896b388d7ddedbbc01f3fbd0852f2571ec9f0d7 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 11 Oct 2009 04:15:32 +0000 Subject: [PATCH] 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 --- src/protocol/inspircd12.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index 8140d73a8..09aeaa5ac 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -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");