1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-24 18:22:21 -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:
TingPing 2014-12-12 05:21:55 -05:00
parent bdb5c3eb9d
commit ebe0ad4cd5

View File

@ -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)) {