summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/chan_05ping.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/chan_05ping.cpp')
-rw-r--r--protocols/IcqOscarJ/src/chan_05ping.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/chan_05ping.cpp b/protocols/IcqOscarJ/src/chan_05ping.cpp
index cc28e5c185..e74071dc4b 100644
--- a/protocols/IcqOscarJ/src/chan_05ping.cpp
+++ b/protocols/IcqOscarJ/src/chan_05ping.cpp
@@ -40,7 +40,7 @@ void __cdecl CIcqProto::KeepAliveThread(void *arg)
{
serverthread_info *info = (serverthread_info*)arg;
icq_packet packet;
- DWORD dwInterval = getSettingDword(NULL, "KeepAliveInterval", KEEPALIVE_INTERVAL);
+ DWORD dwInterval = getDword("KeepAliveInterval", KEEPALIVE_INTERVAL);
NetLog_Server("Keep alive thread starting.");
@@ -77,7 +77,7 @@ void CIcqProto::StartKeepAlive(serverthread_info *info)
if (info->hKeepAliveEvent) // start only once
return;
- if (getSettingByte(NULL, "KeepAlive", DEFAULT_KEEPALIVE_ENABLED))
+ if (getByte("KeepAlive", DEFAULT_KEEPALIVE_ENABLED))
CloseHandle( ForkThreadEx(&CIcqProto::KeepAliveThread, info, 0));
}