mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-28 12:12:16 -05:00
fishlim: Strip whitespace when deleting keys
This fixes a personal annoyance when you tab complete a channel to delete
This commit is contained in:
parent
bdb5c3eb9d
commit
ebe0ad4cd5
@ -223,7 +223,7 @@ static int handle_delkey(char *word[], char *word_eol[], void *userdata) {
|
||||
return HEXCHAT_EAT_HEXCHAT;
|
||||
}
|
||||
|
||||
nick = word_eol[2];
|
||||
nick = g_strstrip (word_eol[2]);
|
||||
|
||||
// Delete the given nick from the key store
|
||||
if (keystore_delete_nick(nick)) {
|
||||
|
Loading…
Reference in New Issue
Block a user