about summary refs log tree commit diff stats
path: root/src/event
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-29 00:53:58 +0100
committerJames Booth <boothj5@gmail.com>2015-09-29 00:53:58 +0100
commitbfdda17b7f5047100da7c9d0050cad487b037a0e (patch)
treef83f1ddfe6bc6e2a1c4bd01c4b77923fee982d91 /src/event
parent26d160cae861865191150c73853a748fcd9cfad1 (diff)
downloadprofani-tty-bfdda17b7f5047100da7c9d0050cad487b037a0e.tar.gz
Fix last active query
Diffstat (limited to 'src/event')
-rw-r--r--src/event/server_events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c
index 7b24f6b9..ea181865 100644
--- a/src/event/server_events.c
+++ b/src/event/server_events.c
@@ -743,9 +743,9 @@ sv_ev_lastactivity_response(const char * const from, const int seconds, const ch
     // full jid or bare jid
     if (jidp->resourcepart || jidp->localpart) {
         if (msg) {
-            cons_show("%s last active %d, status: %s", from, seconds, msg);
+            cons_show("%s last active %d seconds ago, status: %s", from, seconds, msg);
         } else {
-            cons_show("%s last active %d", from, seconds);
+            cons_show("%s last active %d seconds ago.", from, seconds);
         }
 
     // domain only