summaryrefslogtreecommitdiffstats
path: root/servers/auth_server_lin/src
diff options
context:
space:
mode:
Diffstat (limited to 'servers/auth_server_lin/src')
-rw-r--r--servers/auth_server_lin/src/auth_conn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp
index 72e8240..2711cc4 100644
--- a/servers/auth_server_lin/src/auth_conn.cpp
+++ b/servers/auth_server_lin/src/auth_conn.cpp
@@ -526,7 +526,7 @@ void AuthSocket::commandLoop() {
bool online = true;
m_databaseServicesCursor->select(TQString("station=%1").arg((*it).id));
while (m_databaseServicesCursor->next()) {
- m_databaseStatusCursor->select(TQString("serviceid=%1").arg(m_databaseServicesCursor->value("hostname").toString()));
+ m_databaseStatusCursor->select(TQString("hostname='%1'").arg(m_databaseServicesCursor->value("hostname").toString()));
if (m_databaseStatusCursor->next()) {
if (m_databaseStatusCursor->value("online").toInt() == 0) {
online = false;