Add getIrcLog function and call.