mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fixed message on /ban in private conversations
This commit is contained in:
parent
fc049c9eef
commit
bbf807ea97
@ -2120,7 +2120,7 @@ cmd_ban(gchar **args, struct cmd_help_t help)
|
|||||||
|
|
||||||
win_type_t win_type = ui_current_win_type();
|
win_type_t win_type = ui_current_win_type();
|
||||||
if (win_type != WIN_MUC) {
|
if (win_type != WIN_MUC) {
|
||||||
cons_show("Command '/kick' only applies in chat rooms.");
|
cons_show("Command '/ban' only applies in chat rooms.");
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user