mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Complete no arg for /plugins load
This commit is contained in:
parent
e183fd9186
commit
d1ece21b5f
@ -1853,7 +1853,7 @@ static char*
|
|||||||
_plugins_autocomplete(ProfWin *window, const char *const input)
|
_plugins_autocomplete(ProfWin *window, const char *const input)
|
||||||
{
|
{
|
||||||
char *result = NULL;
|
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) {
|
if (plugins_load_ac == NULL) {
|
||||||
plugins_load_ac = autocomplete_new();
|
plugins_load_ac = autocomplete_new();
|
||||||
GSList *plugins = plugins_unloaded_list();
|
GSList *plugins = plugins_unloaded_list();
|
||||||
|
Loading…
Reference in New Issue
Block a user