mirror of
https://github.com/anope/anope.git
synced 2026-06-25 02:46:37 +02:00
Remove cloak prior to applying vhost in insp20 fhost handler
This commit is contained in:
@@ -789,9 +789,9 @@ struct IRCDMessageFHost : IRCDMessage
|
||||
void Run(MessageSource &source, const std::vector<Anope::string> ¶ms) anope_override
|
||||
{
|
||||
User *u = source.GetUser();
|
||||
u->SetDisplayedHost(params[0]);
|
||||
if (u->HasMode("CLOAK"))
|
||||
u->RemoveModeInternal(source, ModeManager::FindUserModeByName("CLOAK"));
|
||||
u->SetDisplayedHost(params[0]);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user