mirror of
https://github.com/anope/anope.git
synced 2026-07-06 20:23:14 +02:00
protocol/inspircd: Match servername as well on ENCAP
This commit is contained in:
@@ -776,7 +776,7 @@ struct IRCDMessageEncap : IRCDMessage
|
||||
|
||||
void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
if (Anope::Match(Me->GetSID(), params[0]) == false)
|
||||
if (!Anope::Match(Me->GetSID(), params[0]) && !Anope::Match(Me->GetName(), params[0]))
|
||||
return;
|
||||
|
||||
if (params[1] == "CHGIDENT")
|
||||
|
||||
Reference in New Issue
Block a user