1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 21:06:38 +02:00

Remove cloak prior to applying vhost in insp20 fhost handler

This commit is contained in:
Adam
2015-03-11 10:48:25 -04:00
parent b67963353f
commit dc58239c8a
+1 -1
View File
@@ -789,9 +789,9 @@ struct IRCDMessageFHost : IRCDMessage
void Run(MessageSource &source, const std::vector<Anope::string> &params) anope_override
{
User *u = source.GetUser();
u->SetDisplayedHost(params[0]);
if (u->HasMode("CLOAK"))
u->RemoveModeInternal(source, ModeManager::FindUserModeByName("CLOAK"));
u->SetDisplayedHost(params[0]);
}
};