commit ada3cd668915028d14809c1b970769522bb657fa
parent f886546a26e5f9c676946631ec95c314a406444f
Author: sin <sin@2f30.org>
Date: Mon, 22 Sep 2014 16:26:15 +0100
Dump our status message in the status/out file not our nickname
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);