aboutsummaryrefslogtreecommitdiff
path: root/modules/geoban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-04-16 12:13:11 +0100
committerGravatar Sadie Powell2025-04-16 12:13:11 +0100
commita3e736de1d3b6423e88b58506c0bfbe89dec3bd3 (patch)
tree04ffa9b7f162c00c5ce4f5da11344ff02622660a /modules/geoban.cpp
parentRefuse to hash passwords using insecure algorithms in MKPASSWD. (diff)
Add <security:banrealmask>.
Diffstat (limited to 'modules/geoban.cpp')
-rw-r--r--modules/geoban.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/geoban.cpp b/modules/geoban.cpp
index 5e6ecbb41..b2df12ed4 100644
--- a/modules/geoban.cpp
+++ b/modules/geoban.cpp
@@ -37,7 +37,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
{
Geolocation::Location* location = geoapi ? geoapi->GetLocation(user) : nullptr;
const std::string code = location ? location->GetCode() : "XX";