diff options
| author | 2025-04-16 12:13:11 +0100 | |
|---|---|---|
| committer | 2025-04-16 12:13:11 +0100 | |
| commit | a3e736de1d3b6423e88b58506c0bfbe89dec3bd3 (patch) | |
| tree | 04ffa9b7f162c00c5ce4f5da11344ff02622660a /modules/account.cpp | |
| parent | Refuse to hash passwords using insecure algorithms in MKPASSWD. (diff) | |
Add <security:banrealmask>.
Diffstat (limited to 'modules/account.cpp')
| -rw-r--r-- | modules/account.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/account.cpp b/modules/account.cpp index 205a5e392..412859019 100644 --- a/modules/account.cpp +++ b/modules/account.cpp @@ -139,7 +139,7 @@ public: { } - bool IsMatch(User* user, Channel* channel, const std::string& text) override + bool IsMatch(User* user, Channel* channel, const std::string& text, bool full) override { const auto* nicks = accountapi.GetAccountNicks(user); if (nicks) @@ -169,10 +169,10 @@ public: { } - bool IsMatch(User* user, Channel* channel, const std::string& text) override + bool IsMatch(User* user, Channel* channel, const std::string& text, bool full) override { const std::string* account = accountapi.GetAccountName(user); - return !account && channel->CheckBan(user, text); + return !account && channel->CheckBan(user, text, full); } }; |
