irclog: DON'T GET BEFORE/AFTER WRONG AGAIN

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>