Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:irc
inspircd
0002-Users-debug.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Users-debug.patch of Package inspircd
From 400da67bbbb358a9f68069857315f5a01a1ae6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20R=C3=BCckert?= <darix@nordisch.org> Date: Sat, 23 May 2020 05:15:37 +0200 Subject: [PATCH 2/4] Users debug --- src/users.cpp | 7 +++++++ 1 file changed, 7 insertions(+) Index: inspircd/src/users.cpp =================================================================== --- inspircd.orig/src/users.cpp +++ inspircd/src/users.cpp @@ -1148,8 +1148,10 @@ void LocalUser::SetClass(const std::stri ModResult MOD_RESULT; FIRST_MOD_RESULT(OnSetConnectClass, MOD_RESULT, (this,c)); - if (MOD_RESULT == MOD_RES_DENY) + if (MOD_RESULT == MOD_RES_DENY) { + ServerInstance->Logs->Log("CONNECTCLASS", LOG_DEBUG, "Class denied by module: %s", c->GetName().c_str()); continue; + } if (MOD_RESULT == MOD_RES_ALLOW) { @@ -1230,6 +1232,7 @@ void LocalUser::SetClass(const std::stri if (found) { MyClass = found; + ServerInstance->Logs->Log("CONNECTCLASS", LOG_DEBUG, "Found matching connect class %s", found->GetName().c_str()); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor