summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker.cxx b/worker.cxx
index 0a7ef7e..d411456 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -9,7 +9,8 @@ Worker::Worker()
void Worker::logIn(QString const& name, QString const& password)
{
rtclient_login(name.toLatin1().constData(), password.toLatin1().constData());
- rtclient_user(name.toLatin1().constData());
+ auto user = rtclient_userget(name.toLatin1().constData());
+ rtclient_userfree(user);
}
void Worker::search(QString const& owner)