mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 10:46:21 +00:00
Allocate memory for additional /who completion
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user