mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Fix the cloak modules on Clang and MSVC.
This commit is contained in:
parent
7c51e3cce9
commit
cc2244e7ba
@ -131,7 +131,7 @@ protected:
|
||||
|
||||
bool MatchesUser(LocalUser* user) const
|
||||
{
|
||||
if (!classes.empty() && !stdalgo::isin(classes, user->GetClass()->GetName()))
|
||||
if (!classes.empty() && classes.find(user->GetClass()->GetName()) == classes.end())
|
||||
return false;
|
||||
|
||||
// All fields matched.
|
||||
|
Loading…
x
Reference in New Issue
Block a user