mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-27 01:50:24 +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:
parent
f07f8d5a44
commit
9126859679
Notes:
sideshowbarker
2024-07-19 07:48:55 +09:00
Author: https://github.com/bcoles Commit: https://github.com/SerenityOS/serenity/commit/91268596797 Pull-request: https://github.com/SerenityOS/serenity/pull/1696
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue