summaryrefslogtreecommitdiff
path: root/bouncer/client.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2014-02-15 17:41:51 +0100
committerTreeki <treeki@gmail.com>2014-02-15 17:41:51 +0100
commit05568c427eff856d3049d4a18a707f1b0b358bd2 (patch)
treebc85fa13989c0f3c497612ecde599aa0fff663ce /bouncer/client.cpp
parentfce9ae6cb332bd2525d5e9e113f9e779ca214c64 (diff)
downloadbounce4-05568c427eff856d3049d4a18a707f1b0b358bd2.tar.gz
bounce4-05568c427eff856d3049d4a18a707f1b0b358bd2.zip
make session keepalive timeout configurable in config.ini
Diffstat (limited to '')
-rw-r--r--bouncer/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bouncer/client.cpp b/bouncer/client.cpp
index ab133b6..deb3e7f 100644
--- a/bouncer/client.cpp
+++ b/bouncer/client.cpp
@@ -87,7 +87,7 @@ void Client::close() {
SocketRWCommon::close();
if (authState == AS_AUTHED)
- deadTime = time(NULL) + SESSION_KEEPALIVE;
+ deadTime = time(NULL) + netCore->sessionKeepalive;
else
deadTime = time(NULL) - 1; // kill instantly
}