diff options
Diffstat (limited to 'server/src/admin_connection.cc')
-rw-r--r-- | server/src/admin_connection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/admin_connection.cc b/server/src/admin_connection.cc index ecc7c65..0fe5380 100644 --- a/server/src/admin_connection.cc +++ b/server/src/admin_connection.cc @@ -38,7 +38,7 @@ static std::string admin_sessionunlock(Environment &env, std::string id) { Session *session = env.sessions.session(id); if(session) { - if(session->isreadonly) { + if(session->isReadonly()) { env.sessions.deleteSession(id); return "Session " + id + " was 'readonly' and has been discarded."; } else { |