Fixing swapped parameters

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