mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Simplify _sub_autocomplete()
This commit is contained in:
parent
c65f03884e
commit
36e0bfde46
@ -1827,11 +1827,7 @@ _sub_autocomplete(ProfWin* window, const char* const input, gboolean previous)
|
||||
return result;
|
||||
}
|
||||
result = autocomplete_param_with_ac(input, "/sub", sub_ac, TRUE, previous);
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return result;
|
||||
}
|
||||
|
||||
static char*
|
||||
|
Loading…
Reference in New Issue
Block a user