diff options
Diffstat (limited to 'server/src/client_connection.cc')
-rw-r--r-- | server/src/client_connection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/client_connection.cc b/server/src/client_connection.cc index 5aee707..9a1ac0f 100644 --- a/server/src/client_connection.cc +++ b/server/src/client_connection.cc @@ -75,7 +75,7 @@ ClientConnection::~ClientConnection() void ClientConnection::nocommit(Session *session) { if(donocommit) { - if(session->isreadonly) { // NoCommit of an empty session discards it. + if(session->isReadonly()) { // NoCommit of an empty session discards it. dodiscard = true; return; } @@ -89,7 +89,7 @@ void ClientConnection::nocommit(Session *session) void ClientConnection::commit(Session *session) { if(docommit) { - if(session->isreadonly) { // Commit of an empty session discards it. + if(session->isReadonly()) { // Commit of an empty session discards it. dodiscard = true; return; } |