diff options
| author | 2022-10-18 11:19:24 +0100 | |
|---|---|---|
| committer | 2022-10-18 11:19:24 +0100 | |
| commit | 9b8383a2a79889c7e5d6f6d0b6f9c224c828bdd9 (patch) | |
| tree | b28cc144d17cf8b1fb7880f7708a1c1e83d888de /src/modules/m_account.cpp | |
| parent | Allow requiring users to be logged into their nick for requireaccount. (diff) | |
Fix building the account module on Clang.
Diffstat (limited to 'src/modules/m_account.cpp')
| -rw-r--r-- | src/modules/m_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_account.cpp b/src/modules/m_account.cpp index 9c042e439..79c76e1e0 100644 --- a/src/modules/m_account.cpp +++ b/src/modules/m_account.cpp @@ -165,7 +165,7 @@ public: // Check whether their current nick is in their nick list. Account::NickList* nicks = accountnicksext.Get(user); - return nicks && stdalgo::isin(*nicks, user->nick); + return nicks && nicks->find(user->nick) != nicks->end(); } }; |
