Make IrcBuffer::toChannel() invokable