aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_geoclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_geoclass.cpp')
-rw-r--r--src/modules/m_geoclass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_geoclass.cpp b/src/modules/m_geoclass.cpp
index 4a0e53830..f381c57c4 100644
--- a/src/modules/m_geoclass.cpp
+++ b/src/modules/m_geoclass.cpp
@@ -44,7 +44,7 @@ public:
// If we can't find the location of this user then we can't assign
// them to a location-specific connect class.
- Geolocation::Location* location = geoapi ? geoapi->GetLocation(user) : NULL;
+ Geolocation::Location* location = geoapi ? geoapi->GetLocation(user) : nullptr;
const std::string code = location ? location->GetCode() : "XX";
irc::spacesepstream codes(country);