equal
deleted
inserted
replaced
203 client_nick=lst[1]; |
203 client_nick=lst[1]; |
204 qDebug() << "send connected"; |
204 qDebug() << "send connected"; |
205 RawSendNet(QString("CONNECTED")); |
205 RawSendNet(QString("CONNECTED")); |
206 if(m_hwserver->isChiefClient(this)) RawSendNet(QString("CONFIGASKED")); |
206 if(m_hwserver->isChiefClient(this)) RawSendNet(QString("CONFIGASKED")); |
207 else { |
207 else { |
|
208 RawSendNet(QString("SLAVE")); |
208 // send config |
209 // send config |
209 QMap<QString, QString> conf=m_hwserver->getGameCfg(); |
210 QMap<QString, QString> conf=m_hwserver->getGameCfg(); |
210 for(QMap<QString, QString>::iterator it=conf.begin(); it!=conf.end(); ++it) { |
211 for(QMap<QString, QString>::iterator it=conf.begin(); it!=conf.end(); ++it) { |
211 RawSendNet(QString("CONFIG_PARAM")+delimeter+it.key()+delimeter+it.value()); |
212 RawSendNet(QString("CONFIG_PARAM")+delimeter+it.key()+delimeter+it.value()); |
212 } |
213 } |