diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-12 10:28:22 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-12 10:28:22 -0500 |
commit | fa92a1eb3c17bb6a821d8f44d67e4463d7dcc1ea (patch) | |
tree | b07dd5615bb32140a2dcf083b30b3a0196b49741 /servers | |
parent | 5773a132ab07de1eb1f34a6a83eb24bcea663755 (diff) | |
download | ulab-fa92a1eb3c17bb6a821d8f44d67e4463d7dcc1ea.tar.gz ulab-fa92a1eb3c17bb6a821d8f44d67e4463d7dcc1ea.zip |
Repair broken single instance check
Diffstat (limited to 'servers')
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.cpp | 2 |
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 b2f2834..6cf3c7b 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -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; |