ox: remove /ox sendfile because its actually not implemented
This commit is contained in:
@@ -234,7 +234,6 @@ static Autocomplete pgp_log_ac;
|
||||
static Autocomplete pgp_sendfile_ac;
|
||||
static Autocomplete ox_ac;
|
||||
static Autocomplete ox_log_ac;
|
||||
static Autocomplete ox_sendfile_ac;
|
||||
#endif
|
||||
static Autocomplete tls_ac;
|
||||
static Autocomplete titlebar_ac;
|
||||
@@ -890,7 +889,6 @@ cmd_ac_init(void)
|
||||
autocomplete_add(ox_ac, "end");
|
||||
autocomplete_add(ox_ac, "log");
|
||||
autocomplete_add(ox_ac, "char");
|
||||
autocomplete_add(ox_ac, "sendfile");
|
||||
autocomplete_add(ox_ac, "announce");
|
||||
autocomplete_add(ox_ac, "discover");
|
||||
autocomplete_add(ox_ac, "request");
|
||||
@@ -1613,7 +1611,6 @@ cmd_ac_uninit(void)
|
||||
autocomplete_free(pgp_sendfile_ac);
|
||||
autocomplete_free(ox_ac);
|
||||
autocomplete_free(ox_log_ac);
|
||||
autocomplete_free(ox_sendfile_ac);
|
||||
#endif
|
||||
autocomplete_free(tls_ac);
|
||||
autocomplete_free(titlebar_ac);
|
||||
@@ -2624,11 +2621,6 @@ _ox_autocomplete(ProfWin* window, const char* const input, gboolean previous)
|
||||
return found;
|
||||
}
|
||||
|
||||
found = autocomplete_param_with_ac(input, "/ox sendfile", ox_sendfile_ac, TRUE, previous);
|
||||
if (found) {
|
||||
return found;
|
||||
}
|
||||
|
||||
if (strncmp(input, "/ox announce ", 13) == 0) {
|
||||
return cmd_ac_complete_filepath(input, "/ox announce", previous);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user