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
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ static int handle_delkey(char *word[], char *word_eol[], void *userdata) {
return HEXCHAT_EAT_HEXCHAT; return HEXCHAT_EAT_HEXCHAT;
} }
nick = word_eol[2]; nick = g_strstrip (word_eol[2]);
// Delete the given nick from the key store // Delete the given nick from the key store
if (keystore_delete_nick(nick)) { if (keystore_delete_nick(nick)) {