X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_geoclass.cpp;h=44e0de209996032fa72bee4e5d7123a88d1ce924;hb=6cfabb0064cab52bbbab59974e53dc0fa1954da7;hp=6ec03c71fb586df62d6551a12f23efb8f8a121aa;hpb=87b1461e2a4710a38b32186c2582da9fe9bb3804;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_geoclass.cpp b/src/modules/m_geoclass.cpp index 6ec03c71f..44e0de209 100644 --- a/src/modules/m_geoclass.cpp +++ b/src/modules/m_geoclass.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2019 Peter Powell + * Copyright (C) 2019-2020 Sadie Powell * * 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 @@ -43,7 +43,7 @@ class ModuleGeoClass Version GetVersion() CXX11_OVERRIDE { - return Version("Provides a way to assign users to connect classes by country", VF_VENDOR); + return Version("Allows the server administrator to assign users to connect classes by the country they are connecting from.", VF_VENDOR); } ModResult OnSetConnectClass(LocalUser* user, ConnectClass* myclass) CXX11_OVERRIDE @@ -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; }