summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-22 16:26:15 +0100
committersin <sin@2f30.org>2014-09-22 16:26:15 +0100
commitada3cd668915028d14809c1b970769522bb657fa (patch)
tree12088c697e13cf0f5a1f3c27b1f40ba899ba1a69 /ratox.c
parentf886546a26e5f9c676946631ec95c314a406444f (diff)
Dump our status message in the status/out file not our nickname
Diffstat (limited to 'ratox.c')
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
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);