diff options
| author | 2026-03-08 20:20:58 +0000 | |
|---|---|---|
| committer | 2026-03-08 20:20:58 +0000 | |
| commit | fa3c7849d3ab085cdb31ea2fa846436d7ed5f642 (patch) | |
| tree | 673527fc066b92d02ef109f503805abb2c4d9ffc /modules/geoban.cpp | |
| parent | Fix various minor Doxygen issues. (diff) | |
Make the ban checking functions able to check any list mode.
Diffstat (limited to 'modules/geoban.cpp')
| -rw-r--r-- | modules/geoban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |
