summaryrefslogtreecommitdiff
path: root/plugins/Exchange
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange')
-rw-r--r--plugins/Exchange/src/emails.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Exchange/src/emails.cpp b/plugins/Exchange/src/emails.cpp
index c362ac3852..a2669f7abb 100644
--- a/plugins/Exchange/src/emails.cpp
+++ b/plugins/Exchange/src/emails.cpp
@@ -62,8 +62,7 @@ int CExchangeServer::Connect(int bForceConnect)
TCHAR server[1024];
GetStringFromDatabase("Username", _T(""), user, _countof(user));
- if (ServiceExists(MS_UTILS_REPLACEVARS))
- _tcsncpy_s(user, VARST(user), _TRUNCATE);
+ _tcsncpy_s(user, VARST(user), _TRUNCATE);
GetStringFromDatabase("Password", _T(""), password, _countof(password));
GetStringFromDatabase("Server", _T(""), server, _countof(server));