summaryrefslogtreecommitdiffstats
path: root/cmdline/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/main.cpp')
-rw-r--r--cmdline/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/main.cpp b/cmdline/main.cpp
index dc22642..d196ce8 100644
--- a/cmdline/main.cpp
+++ b/cmdline/main.cpp
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
}
TQTextStream stream(&passFile);
credentials.username = args->getOption("adminusername");
- credentials.password = stream.readLine();
+ credentials.password = stream.readLine().utf8();
passFile.close();
}
else {