summaryrefslogtreecommitdiff
path: root/src/modules/m_geoclass.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-11-03 15:43:04 +0000
committerSadie Powell <sadie@witchery.services>2020-11-03 15:43:04 +0000
commit0a6b1e1a7de92e078a98f0b955d2624e5b85e4c1 (patch)
tree203e657ce7177250199923504f53d5f214efe454 /src/modules/m_geoclass.cpp
parentd38595e7e14e7509e744d33df657d50d00cc201f (diff)
Make connect class debug logging more complete and consistent.
Diffstat (limited to 'src/modules/m_geoclass.cpp')
-rw-r--r--src/modules/m_geoclass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_geoclass.cpp b/src/modules/m_geoclass.cpp
index 6251131fd..8289c9a60 100644
--- a/src/modules/m_geoclass.cpp
+++ b/src/modules/m_geoclass.cpp
@@ -68,6 +68,8 @@ class ModuleGeoClass
// A list of country codes were specified but the user didn't match
// any of them.
+ ServerInstance->Logs->Log("CONNECTCLASS", LOG_DEBUG, "The %s connect class is not suitable as the origin country (%s) is not any of %s",
+ myclass->GetName().c_str(), code.c_str(), country.c_str());
return MOD_RES_DENY;
}