mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Allocate memory for additional /who completion
This commit is contained in:
parent
cd56134ebb
commit
0e9451f5e8
@ -442,7 +442,7 @@ cmd_init(void)
|
|||||||
p_autocomplete_add(who_ac, (gchar *)strdup(pcmd->cmd+1));
|
p_autocomplete_add(who_ac, (gchar *)strdup(pcmd->cmd+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
p_autocomplete_add(who_ac, "offline");
|
p_autocomplete_add(who_ac, strdup("offline"));
|
||||||
|
|
||||||
history_init();
|
history_init();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user