diff options
| author | 2024-06-30 21:58:44 +0100 | |
|---|---|---|
| committer | 2024-06-30 21:58:44 +0100 | |
| commit | 97155a912a3332651651d1cbdcdf5b9624f6e357 (patch) | |
| tree | 19eb42e6cfa8b4e0b4b1cf054365ce06b164b800 /src/modules/m_passforward.cpp | |
| parent | Release v4.0.0. (diff) | |
Use the password from the class instead of the config in passforward.
Diffstat (limited to 'src/modules/m_passforward.cpp')
| -rw-r--r-- | src/modules/m_passforward.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_passforward.cpp b/src/modules/m_passforward.cpp index b1dad0608..2c7b7b01f 100644 --- a/src/modules/m_passforward.cpp +++ b/src/modules/m_passforward.cpp @@ -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)) |
