diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-14 22:55:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-14 22:55:55 +0000 |
commit | ab51786ccf2e10217fe25c2dae5de1b2609e76cf (patch) | |
tree | 76f539beecb6e6af20ebbd6f60cba6e4fa20678d /src/modules | |
parent | 425f1b7f87d7599589252545156f0b993b55825f (diff) |
fix for the options reading
git-svn-id: http://svn.miranda-ng.org/main/trunk@7660 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/chat/chat_opts.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/chat/chat_opts.cpp b/src/modules/chat/chat_opts.cpp index ce73ae8897..eb1dae31ce 100644 --- a/src/modules/chat/chat_opts.cpp +++ b/src/modules/chat/chat_opts.cpp @@ -234,6 +234,9 @@ void LoadGlobalSettings(void) ci.pSettings->ShowContactStatus = db_get_b(NULL, "Chat", "ShowContactStatus", 0);
ci.pSettings->ContactStatusFirst = db_get_b(NULL, "Chat", "ContactStatusFirst", 0);
+ if (ci.OnLoadSettings)
+ ci.OnLoadSettings();
+
InitSetting(&ci.pSettings->pszTimeStamp, "HeaderTime", _T("[%H:%M]"));
InitSetting(&ci.pSettings->pszTimeStampLog, "LogTimestamp", _T("[%d %b %y %H:%M]"));
InitSetting(&ci.pSettings->pszIncomingNick, "HeaderIncoming", _T("%n:"));
|