1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: display error on "/key bind meta- ..." (incomplete meta key)

This commit is contained in:
Sebastien Helleu
2011-12-17 22:52:44 +01:00
parent 9bab39057b
commit 7d52f85f55
+1 -1
View File
@@ -723,7 +723,7 @@ struct t_gui_key *
gui_key_bind (struct t_gui_buffer *buffer, int context, const char *key,
const char *command)
{
if (!key || !command)
if (!key || !command || (string_strcasecmp (key, "meta-") == 0))
return NULL;
gui_key_unbind (buffer, context, key);