setpriv: use client reference instead of cn
clients: vector<client *> -> vector<client>
timedevent::process
Revert to 1e132d94153989dff0e260daeb6af033d00c6d44
sendpacket
sendf
Use client& instead of client* when NULL is not acceptable
* spamdetect
* sendtext
* serverdied
* serverdamage
* canspawn
* sendspawn
* addban
* sendwelcome
* forcedeath
* checktype
* is_lagging
* addptreason
* addpt
* killpoints
* flagpoints
* checkmove
getbantype
Convert int cn to client&
* updateclientteam
* clientdisconnect
* disconnect_client
* welcomepacket
Fix updateclientteam