|
@@ -426,7 +426,7 @@ int LSDatenbank::kickSpielerAusGruppe( int gruppeId, int accountId )
|
|
|
bool LSDatenbank::getChatServerPortIp( int accountId, unsigned short *port, Text *ip )
|
|
|
{
|
|
|
Text *befehl = new Text( "SELECT a.port, a.ip FROM server a, server_client b, account_client c "
|
|
|
- "WHERE a.server_typ_id = 'chat' AND c.client_id = b.client_id AND a.id = b.server_id AND c.account_id = " );
|
|
|
+ "WHERE a.server_typ_name = 'chat' AND c.client_id = b.client_id AND a.id = b.server_id AND c.account_id = " );
|
|
|
befehl->append( accountId );
|
|
|
lock();
|
|
|
if( !datenbank->befehl( befehl->getText() ) )
|