added argentina to countries

This commit is contained in:
Max-Wilhelm Bruker 2011-07-05 12:44:39 +02:00
parent 83e2e3666a
commit ef42c7518a
6 changed files with 115 additions and 1 deletions

View file

@ -65,7 +65,7 @@ Servatrice::Servatrice(QSettings *_settings, QObject *parent)
statusUpdateClock->start(statusUpdateTime);
}
bool threaded = settings->value("server/threaded", false).toInt();
threaded = settings->value("server/threaded", false).toInt();
tcpServer = new Servatrice_TcpServer(this, threaded, this);
int port = settings->value("server/port", 4747).toInt();
qDebug() << "Starting server on port" << port;

View file

@ -68,6 +68,7 @@ public:
int getMaxMessageCountPerInterval() const { return maxMessageCountPerInterval; }
int getMaxMessageSizePerInterval() const { return maxMessageSizePerInterval; }
int getMaxGamesPerUser() const { return maxGamesPerUser; }
bool getThreaded() const { return threaded; }
QString getDbPrefix() const { return dbPrefix; }
void updateLoginMessage();
ServerInfo_User *getUserData(const QString &name);
@ -86,6 +87,7 @@ private:
QString dbPrefix;
QSettings *settings;
int serverId;
bool threaded;
int uptime;
QList<QPair<QHostAddress, int> > addressBanList;
int maxGameInactivityTime, maxPlayerInactivityTime;