examples/irc-log.c: fixed a fencepost error