1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Complete no arg for /plugins load

This commit is contained in:
James Booth 2016-05-24 01:36:21 +01:00
parent e183fd9186
commit d1ece21b5f

View File

@ -1853,7 +1853,7 @@ static char*
_plugins_autocomplete(ProfWin *window, const char *const input)
{
char *result = NULL;
if ((strncmp(input, "/plugins load ", 14) == 0) && (strlen(input) > 14)) {
if (strncmp(input, "/plugins load ", 14) == 0) {
if (plugins_load_ac == NULL) {
plugins_load_ac = autocomplete_new();
GSList *plugins = plugins_unloaded_list();