diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-05-07 18:42:55 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-05-07 18:43:00 +0100 |
| commit | 22a86fd7a287e16522bef80d4a89f399ce654cc3 (patch) | |
| tree | 35b23b3ca45eb6259e015538ff313ad8f223c4a0 /src/managers/SessionLockManager.cpp | |
| parent | 598bbd186b1e6e70a01ba7f98c89404531008f15 (diff) | |
session-lock: don't allow events from rejected locks
fixes #5913
Diffstat (limited to 'src/managers/SessionLockManager.cpp')
| -rw-r--r-- | src/managers/SessionLockManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/SessionLockManager.cpp b/src/managers/SessionLockManager.cpp index 6dd096bb..fd4841f4 100644 --- a/src/managers/SessionLockManager.cpp +++ b/src/managers/SessionLockManager.cpp @@ -43,6 +43,7 @@ void CSessionLockManager::onNewSessionLock(SP<CSessionLock> pLock) { if (PROTO::sessionLock->isLocked() && !*PALLOWRELOCK) { Debug::log(LOG, "Cannot re-lock, misc:allow_session_lock_restore is disabled"); + pLock->sendDenied(); return; } |
