mirror of
https://github.com/RGBCube/serenity
synced 2025-07-14 17:57:34 +00:00
IRCClient: Fix unneeded conversion to String
This commit is contained in:
parent
a574e1ab84
commit
ad75b61eca
1 changed files with 1 additions and 2 deletions
|
@ -735,8 +735,7 @@ void IRCClient::handle_ctcp_request(const StringView& peer, const StringView& pa
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: Add StringView::starts_with()
|
if (payload.starts_with("PING")) {
|
||||||
if (String(payload).starts_with("PING")) {
|
|
||||||
send_ctcp_response(peer, payload);
|
send_ctcp_response(peer, payload);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue