1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:08:10 +00:00

IRCClient: Rename /hop command to /cycle

Some IRC clients use /hop to part and re-join a channel; however this
can be confused with granting half-op (+h) channel privileges to a user.

The general convention used by other IRC clients is /cycle.
This commit is contained in:
Brendan Coles 2020-04-08 09:52:54 +00:00 committed by Andreas Kling
parent f07f8d5a44
commit 9126859679

View file

@ -850,7 +850,7 @@ void IRCClient::handle_user_command(const String& input)
}
return;
}
if (command == "/HOP") {
if (command == "/CYCLE") {
if (parts.size() >= 2) {
auto channel = parts[1];
part_channel(channel);