mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Use the password from the class instead of the config in passforward.
This commit is contained in:
parent
58d775b2b1
commit
97155a912a
@ -65,7 +65,7 @@ public:
|
||||
return;
|
||||
|
||||
// If the connect class requires a password, don't forward it
|
||||
if (!user->GetClass()->config->getString("password").empty())
|
||||
if (!user->GetClass()->password.empty())
|
||||
return;
|
||||
|
||||
if (accountapi && accountapi->GetAccountName(user))
|
||||
|
Loading…
x
Reference in New Issue
Block a user