|
|
@ -526,7 +526,7 @@ void AuthSocket::commandLoop() {
|
|
|
|
bool online = true;
|
|
|
|
bool online = true;
|
|
|
|
m_databaseServicesCursor->select(TQString("station=%1").arg((*it).id));
|
|
|
|
m_databaseServicesCursor->select(TQString("station=%1").arg((*it).id));
|
|
|
|
while (m_databaseServicesCursor->next()) {
|
|
|
|
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->next()) {
|
|
|
|
if (m_databaseStatusCursor->value("online").toInt() == 0) {
|
|
|
|
if (m_databaseStatusCursor->value("online").toInt() == 0) {
|
|
|
|
online = false;
|
|
|
|
online = false;
|
|
|
|