summaryrefslogtreecommitdiff
path: root/Userland/Applications/IRCClient
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2021-08-21 16:33:54 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-22 01:32:25 +0200
commitacde7d12b0d2870feba3ebaaaf2ef99ac6fb41b3 (patch)
tree9ea1d89f621446ea24b9ee34ca93c73acef225a0 /Userland/Applications/IRCClient
parent938051feb8d9340657251082f3fd4abffd57b813 (diff)
downloadserenity-acde7d12b0d2870feba3ebaaaf2ef99ac6fb41b3.zip
Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open
This patch brings the ConfigFile helpers for opening lib, app and system configs more inline with the regular ConfigFile::open functions.
Diffstat (limited to 'Userland/Applications/IRCClient')
-rw-r--r--Userland/Applications/IRCClient/IRCClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/IRCClient/IRCClient.cpp b/Userland/Applications/IRCClient/IRCClient.cpp
index f95a6cc7a1..fc92f2f7bb 100644
--- a/Userland/Applications/IRCClient/IRCClient.cpp
+++ b/Userland/Applications/IRCClient/IRCClient.cpp
@@ -47,7 +47,7 @@ IRCClient::IRCClient(String server, int port)
: m_nickname("seren1ty")
, m_client_window_list_model(IRCWindowListModel::create(*this))
, m_log(IRCLogBuffer::create())
- , m_config(Core::ConfigFile::get_for_app("IRCClient", Core::ConfigFile::AllowWriting::Yes))
+ , m_config(Core::ConfigFile::open_for_app("IRCClient", Core::ConfigFile::AllowWriting::Yes))
{
struct passwd* user_pw = getpwuid(getuid());
m_socket = Core::TCPSocket::construct(this);