summaryrefslogtreecommitdiff
path: root/ratatox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-15 18:06:25 +0100
committersin <sin@2f30.org>2014-09-15 18:06:38 +0100
commitd46e99d50ba3f096f12298bd45169833fe0bcf6d (patch)
tree36e3c7afb8877c32d473117c72195bfa2bdda836 /ratatox.c
parent240c26e52840a5422ee838957fb0d31286395a65 (diff)
For now print messages on the main screen too
Diffstat (limited to 'ratatox.c')
-rw-r--r--ratatox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ratatox.c b/ratatox.c
index aa107cf..1a264fe 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -226,6 +226,7 @@ cb_friend_message(Tox *m, int32_t fid, const uint8_t *data, uint16_t len, void *
t = time(NULL);
strftime(buft, sizeof(buft), "%F %R", localtime(&t));
writeparam(f, "text_out", "a", "%s %s\n", buft, msg);
+ printout("%s %s\n", f->namestr, msg);
break;
}
}