Heres a version that works for all clients...
Code:
void command_resyncinv(Client *c, const Seperator *sep) {
if(!c) { return; }
c->Disconnect();
}
Not sure of the point of this. In 3 years playing emu, I had less than 5 desyncs and everytime I just logged out and back in. If you get to the point that the server deletes an item, its already too late to use this.