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
Notes: sideshowbarker 2024-07-19 07:48:55 +09:00

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);