summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus/startupstatus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-19 08:07:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-19 08:07:55 +0000
commitf45207c731e8d472f57143fb3d152a06ee7bd1f0 (patch)
tree4e1b1572c0642e5332634168a4a394c567b22cd4 /plugins/StatusPlugins/StartupStatus/startupstatus.cpp
parent08dc125be616458112368e7154b29d5d23f1126e (diff)
NAS support completely removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/startupstatus.cpp')
-rw-r--r--plugins/StatusPlugins/StartupStatus/startupstatus.cpp18
1 files changed, 1 insertions, 17 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/startupstatus.cpp b/plugins/StatusPlugins/StartupStatus/startupstatus.cpp
index e1445a7704..9724f7e467 100644
--- a/plugins/StatusPlugins/StartupStatus/startupstatus.cpp
+++ b/plugins/StatusPlugins/StartupStatus/startupstatus.cpp
@@ -316,23 +316,7 @@ static int Exit(WPARAM wParam, LPARAM lParam)
if ( !(CallProtoService(protos[i]->szModuleName, PS_GETCAPS, (WPARAM)PFLAGNUM_3, 0)&Proto_Status2Flag(status)))
continue;
-
- if (ServiceExists(MS_NAS_GETSTATE)) {
- // NewAwaySys
- NAS_PROTOINFO npi = { 0 };
- npi.cbSize = sizeof(NAS_PROTOINFO);
- npi.szProto = protos[i]->szModuleName;
- npi.status = 0;
- CallService(MS_NAS_GETSTATEA, (WPARAM)&npi, (LPARAM)1);
- if (npi.szMsg == NULL) {
- npi.status = 0;
- npi.szProto = NULL;
- CallService(MS_NAS_GETSTATEA, (WPARAM)&npi, (LPARAM)1);
- }
- if (npi.szMsg != NULL) {
- DBWriteContactSettingString(NULL, MODULENAME, lastMsg, npi.szMsg);
- mir_free(npi.szMsg);
- } } } }
+ } }
if ( (DBGetContactSettingByte(NULL, MODULENAME, SETTING_SETPROFILE, 1)) || (DBGetContactSettingByte(NULL, MODULENAME, SETTING_OFFLINECLOSE, 0))) {
if (ServiceExists(MS_CLIST_SETSTATUSMODE))