summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:12 +0000
commit8788bb35e10ef5403a08388d33ed4ab2ff7d67df (patch)
treeb79e5efbfb02418b1276442a59e7722252cf39c8 /protocols/IRCG/src
parent05ccb4dcd0b507fb000426667ed3f25c0b93db2b (diff)
new helper applied instead of MS_DB_SETSETTINGRESIDENT
git-svn-id: http://svn.miranda-ng.org/main/trunk@5094 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r--protocols/IRCG/src/ircproto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp
index 8c9981234e..de23f16b83 100644
--- a/protocols/IRCG/src/ircproto.cpp
+++ b/protocols/IRCG/src/ircproto.cpp
@@ -73,9 +73,7 @@ CIrcProto::CIrcProto(const char* szModuleName, const TCHAR* tszUserName) :
InitPrefs();
- char text[ MAX_PATH ];
- mir_snprintf( text, sizeof( text ), "%s/Status", m_szModuleName);
- CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)text);
+ db_set_resident(m_szModuleName, "Status");
CList_SetAllOffline(true);