mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:27:43 +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
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ void IRCClient::handle_user_command(const String& input)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (command == "/HOP") {
|
if (command == "/CYCLE") {
|
||||||
if (parts.size() >= 2) {
|
if (parts.size() >= 2) {
|
||||||
auto channel = parts[1];
|
auto channel = parts[1];
|
||||||
part_channel(channel);
|
part_channel(channel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue