summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index 6befdde..223583e 100644
--- a/chat.c
+++ b/chat.c
@@ -222,7 +222,7 @@ int main(int argc, char *argv[]) {
 
 	ircConfig(insecure, cert, priv);
 
-	uiInit();
+	uiInitEarly();
 	if (save) {
 		uiLoad(save);
 		atexit(exitSave);
@@ -244,6 +244,7 @@ int main(int argc, char *argv[]) {
 	ircFormat("NICK :%s\r\n", nick);
 	ircFormat("USER %s 0 * :%s\r\n", user, real);
 
+	uiInitLate();
 	signal(SIGHUP, signalHandler);
 	signal(SIGINT, signalHandler);
 	signal(SIGTERM, signalHandler);