From fa3c7849d3ab085cdb31ea2fa846436d7ed5f642 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 8 Mar 2026 20:20:58 +0000 Subject: Make the ban checking functions able to check any list mode. --- modules/geoban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/geoban.cpp') diff --git a/modules/geoban.cpp b/modules/geoban.cpp index 0d96bc2d6..125a522b1 100644 --- a/modules/geoban.cpp +++ b/modules/geoban.cpp @@ -37,7 +37,7 @@ public: { } - bool IsMatch(User* user, Channel* channel, const std::string& text, const ExtBan::MatchConfig& config) override + bool IsMatch(ListModeBase* lm, User* user, Channel* channel, const std::string& text, const ExtBan::MatchConfig& config) override { Geolocation::Location* location = geoapi ? geoapi->GetLocation(user) : nullptr; const std::string code = location ? location->GetCode() : "XX"; -- cgit v1.3.1-10-gc9f91