|
|
|
@ -609,7 +609,7 @@ void AuthSocket::commandLoop() {
|
|
|
|
|
tempchar = m_databaseServiceTypesCursor->value("single_instance").toInt();
|
|
|
|
|
if (tempchar != 0) {
|
|
|
|
|
// Verify that service is not already in use
|
|
|
|
|
m_databaseActivityCursor->select(TQString("station=%1 AND serviceid=%2").arg(m_databaseStationsCursor->value("pk").toInt()).arg(sid));
|
|
|
|
|
m_databaseActivityCursor->select(TQString("station=%1 AND serviceid=%2").arg(m_stationID).arg(sid));
|
|
|
|
|
while (m_databaseActivityCursor->next()) {
|
|
|
|
|
if (m_databaseActivityCursor->value("username").toString() != "") {
|
|
|
|
|
available = false;
|
|
|
|
|