Allow the locker to be used even without a client

Former-commit-id: 041446005b03121adf7ac061bd0fd2ec70d9418e
This commit is contained in:
John Sully 2020-10-23 20:21:49 +00:00
parent c88a19bc5e
commit 95606ffb10

View File

@ -9,7 +9,7 @@ public:
{
}
void arm(client *c, bool fIfNeeded = false) // if a client is passed, then the client is already locked
void arm(client *c = nullptr, bool fIfNeeded = false) // if a client is passed, then the client is already locked
{
if (m_fArmed)
return;