summaryrefslogtreecommitdiff
path: root/plugins/Exchange
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange')
-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),