Fixing swapped paraemeters

isClient and warn were swapped resulting in ```TypeError: boolean is
not a function``` errors.