summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-08-14 05:30:24 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-08-14 05:30:24 +0000
commit89450d6b70a44ab68839798ca414dc2c20747879 (patch)
tree9ddb4636d3d8001907fa769bbc13150da5260a62 /protocols/JabberG/src/jabber_thread.cpp
parentce7a393172adf13ad1e990e970c1acac896dea7f (diff)
correct version of #5669
git-svn-id: http://svn.miranda-ng.org/main/trunk@5675 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 4fa1415eff..4de6540b5b 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -258,14 +258,13 @@ void CJabberProto::ServerThread(ThreadData* info)
info->resolveID = -1;
info->auth = NULL;
- if (info->proto->m_options.ManualConnect == TRUE) {
+ if (m_options.ManualConnect == TRUE) {
if ( !getString("ManualHost", &dbv)) {
strncpy(info->manualHost, dbv.pszVal, SIZEOF(info->manualHost));
info->manualHost[SIZEOF(info->manualHost)-1] = '\0';
db_free(&dbv);
}
- if (getWord("ManualPort", JABBER_DEFAULT_PORT) != JABBER_DEFAULT_PORT)
- info->port = getWord("ManualPort", JABBER_DEFAULT_PORT);
+ info->port = getWord("ManualPort", JABBER_DEFAULT_PORT);
}
else info->port = getWord("Port", JABBER_DEFAULT_PORT);