summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:52:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-11 13:52:01 +0000
commita15cd68f0412e1b211e746a2e4d5682e96f5a113 (patch)
treed09d41832621cfc07957dbbcd60077fdf96b7e66 /plugins/Exchange/src
parent85bd008c039eb1d93894e94fba9d158a42a71a12 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14911 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Exchange/src')
-rw-r--r--plugins/Exchange/src/emails.h2
-rw-r--r--plugins/Exchange/src/exchange.cpp4
2 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Exchange/src/emails.h b/plugins/Exchange/src/emails.h
index f33e7a510e..6dedbd24ce 100644
--- a/plugins/Exchange/src/emails.h
+++ b/plugins/Exchange/src/emails.h
@@ -83,7 +83,7 @@ class CExchangeServer{
int Check(int bNoEmailsNotify = FALSE);
};
-extern CExchangeServer &exchangeServer;
+extern CExchangeServer exchangeServer;
int ShowMessage(TCHAR *message, int cUnreadEmails);
int ShowPopupMessage(TCHAR *title, TCHAR *message, int cUnreadEmails);
diff --git a/plugins/Exchange/src/exchange.cpp b/plugins/Exchange/src/exchange.cpp
index 97ef9250bb..d2597ae298 100644
--- a/plugins/Exchange/src/exchange.cpp
+++ b/plugins/Exchange/src/exchange.cpp
@@ -26,9 +26,7 @@ HICON hiMailIcon = NULL;
HWND hEmailsDlg = NULL;
int hLangpack=0;
-CExchangeServer &exchangeServer = CExchangeServer();
-
-//PLUGINLINK *pluginLink;
+CExchangeServer exchangeServer;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),