]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_geoclass.cpp
Sync helpop chmodes s and p with docs
[user/henk/code/inspircd.git] / src / modules / m_geoclass.cpp
index 6251131fd3173e96ab103ba29214f48ec5c01cba..44e0de209996032fa72bee4e5d7123a88d1ce924 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2019 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2019-2020 Sadie Powell <sadie@witchery.services>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -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;
        }