diff options
author | TingPing <tingping@tingping.se> | 2014-12-12 05:21:55 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-12-15 15:07:43 -0500 |
commit | ebe0ad4cd5d685a8d2dca667b18ccbd876a2ebf9 (patch) | |
tree | f855f7003e0999c60f68e35d33124dc76dd8aa04 /plugins/fishlim | |
parent | bdb5c3eb9ddafff656953ff048b6b3bbb3234181 (diff) |
fishlim: Strip whitespace when deleting keys
This fixes a personal annoyance when you tab complete a channel to delete
Diffstat (limited to 'plugins/fishlim')
-rw-r--r-- | plugins/fishlim/plugin_hexchat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fishlim/plugin_hexchat.c b/plugins/fishlim/plugin_hexchat.c index 0219e5fa..ce0e8a69 100644 --- a/plugins/fishlim/plugin_hexchat.c +++ b/plugins/fishlim/plugin_hexchat.c @@ -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)) { |