mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Fixed setting usermode +k on our clients on InspIRCd 2.0
This commit is contained in:
@@ -975,7 +975,10 @@ bool event_capab(const Anope::string &source, const std::vector<Anope::string> &
|
||||
else if (modename.equals_cs("regdeaf"))
|
||||
um = new UserMode(UMODE_REGPRIV, "UMODE_REGPRIV", modechar[0]);
|
||||
else if (modename.equals_cs("servprotect"))
|
||||
{
|
||||
um = new UserMode(UMODE_PROTECTED, "UMODE_PROTECTED", modechar[0]);
|
||||
ircd->pseudoclient_mode = "+Ik";
|
||||
}
|
||||
else if (modename.equals_cs("showwhois"))
|
||||
um = new UserMode(UMODE_WHOIS, "UMODE_WHOIS", modechar[0]);
|
||||
else if (modename.equals_cs("snomask"))
|
||||
@@ -1017,8 +1020,6 @@ bool event_capab(const Anope::string &source, const std::vector<Anope::string> &
|
||||
has_chghostmod = true;
|
||||
else if (module.equals_cs("m_chgident.so"))
|
||||
has_chgidentmod = true;
|
||||
else if (module.equals_cs("m_servprotect.so"))
|
||||
ircd->pseudoclient_mode = "+Ik";
|
||||
}
|
||||
}
|
||||
else if (params[0].equals_cs("CAPABILITIES"))
|
||||
|
||||
Reference in New Issue
Block a user