degesch: make /buffer with no arguments print list

This commit is contained in:
Přemysl Eric Janouch 2015-11-21 14:07:07 +01:00
parent 59a4c356dd
commit fa965a85e4
1 changed files with 1 additions and 1 deletions

View File

@ -8152,7 +8152,7 @@ handle_command_buffer (struct handler_args *a)
return true;
bool result = true;
if (!strcasecmp_ascii (action, "list"))
if (!*action || !strcasecmp_ascii (action, "list"))
show_buffers_list (ctx);
else if (!strcasecmp_ascii (action, "clear"))
{