Fix /query <user> <message> to show the sent message

Fixes bug #797