irclog: using const for redis connection

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