| 343 | } |
| 344 | |
| 345 | mclient *findclient(gameserver &s) |
| 346 | { |
| 347 | loopv(mclients) |
| 348 | { |
| 349 | mclient &c = *mclients[i]; |
| 350 | if(s.address.host == c.address.host && s.port == c.servport) |
| 351 | return &c; |
| 352 | } |
| 353 | return NULL; |
| 354 | } |
| 355 | |
| 356 | void servermessage(gameserver &s, const char *msg) |
| 357 | { |
no outgoing calls
no test coverage detected