| 636 | } |
| 637 | |
| 638 | int findcnbyaddress(ENetAddress *address) |
| 639 | { |
| 640 | loopv(clients) |
| 641 | { |
| 642 | if(clients[i]->type == ST_TCPIP && clients[i]->peer->address.host == address->host && clients[i]->peer->address.port == address->port) |
| 643 | return i; |
| 644 | } |
| 645 | return -1; |
| 646 | } |
| 647 | |
| 648 | savedscore *findscore(client &c, bool insert) |
| 649 | { |
no outgoing calls
no test coverage detected