diff options
author | sin <sin@2f30.org> | 2014-09-22 16:26:15 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-22 16:26:15 +0100 |
commit | ada3cd668915028d14809c1b970769522bb657fa (patch) | |
tree | 12088c697e13cf0f5a1f3c27b1f40ba899ba1a69 | |
parent | f886546a26e5f9c676946631ec95c314a406444f (diff) |
Dump our status message in the status/out file not our nickname
-rw-r--r-- | ratox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |