summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/database.h b/server/src/database.h
index fe644bc..8876ae7 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -178,16 +178,16 @@ public:
return dao->restore(data);
}
- bool active(std::string sessionid)
+ bool idle(std::string sessionid)
{
if(!dao || sessionid == "") return false;
- return dao->active(sessionid);
+ return dao->idle(sessionid);
}
- void setActive(std::string sessionid, bool val)
+ void setIdle(std::string sessionid, bool val)
{
if(dao && sessionid != "") {
- dao->setActive(sessionid, val);
+ dao->setIdle(sessionid, val);
}
}