From ada3cd668915028d14809c1b970769522bb657fa Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 22 Sep 2014 16:26:15 +0100 Subject: Dump our status message in the status/out file not our nickname --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratox.c') diff --git a/ratox.c b/ratox.c index c79dd54..2198e7f 100644 --- a/ratox.c +++ b/ratox.c @@ -718,7 +718,7 @@ localinit(void) r = sizeof(status) - 1; status[r] = '\0'; ftruncate(gslots[STATUS].fd[OUT], 0); - dprintf(gslots[STATUS].fd[OUT], "%s\n", name); + dprintf(gslots[STATUS].fd[OUT], "%s\n", status); /* Dump ID */ fd = open("id", O_WRONLY | O_CREAT, 0644); -- cgit v1.2.3