summaryrefslogtreecommitdiffstats
path: root/src/ClientInfo.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientInfo.hpp')
-rw-r--r--src/ClientInfo.hpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/ClientInfo.hpp b/src/ClientInfo.hpp
index cdd8ff4..4a4ef0b 100644
--- a/src/ClientInfo.hpp
+++ b/src/ClientInfo.hpp
@@ -21,19 +21,23 @@ class ClientInfo
{
public:
- ClientInterface interface = Clonk;
+
QString nick = "";
- bool dcc = false;
- int CUID = 0;
+ QList<QDateTime> antiFloodList;
+ QString target = "";
+
+ ManagementConnection management;
QString pcName = "";
+
+ ClientInterface interface = Clonk;
+ int CUID = 0;
bool activated = false;
- QList<QDateTime> antiFloodList;
+ bool dcc = false;
+
- QString target = "";
- ManagementConnection management;
static inline ClientInfo ircClient(QString nick, QString target = "")
@@ -151,7 +155,7 @@ public:
{
if(parts.length() != 5) throw ConfigException("Cannot read corrupt ClientInfo with Clonk-ClientInterface: " + string.toStdString());
info.pcName = parts.at(1);
- info.CUID = parts.at(2).toUInt();
+ info.CUID = parts.at(2).toInt();
info.nick = parts.at(3);
info.activated = ConfigValueBase::getValue<bool>(parts.at(4));
break;