Fix last active query

This commit is contained in:
James Booth
2015-09-29 00:53:58 +01:00
parent 26d160cae8
commit bfdda17b7f
2 changed files with 5 additions and 12 deletions

View File

@@ -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