diff options
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/IRCClient/IRCClient.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Applications/IRCClient/IRCClient.cpp b/Applications/IRCClient/IRCClient.cpp index e2de9f88bd..29d0f877bb 100644 --- a/Applications/IRCClient/IRCClient.cpp +++ b/Applications/IRCClient/IRCClient.cpp @@ -735,8 +735,7 @@ void IRCClient::handle_ctcp_request(const StringView& peer, const StringView& pa return; } - // FIXME: Add StringView::starts_with() - if (String(payload).starts_with("PING")) { + if (payload.starts_with("PING")) { send_ctcp_response(peer, payload); return; } |