| 4728 | } |
| 4729 | |
| 4730 | void extping_serverinfo(ucharbuf &pi, ucharbuf &po) |
| 4731 | { |
| 4732 | getint(pi); getint(pi); // dummy read language code |
| 4733 | if(strlen(serverinfoinfo.getmsg())) |
| 4734 | { |
| 4735 | sendstring("en", po); |
| 4736 | int pos = 0; |
| 4737 | string buf; |
| 4738 | while(po.remaining() > MAXINFOLINELEN + 10) |
| 4739 | { |
| 4740 | sendstring(serverinfoinfo.getmsgline(buf, &pos), po); |
| 4741 | if(!*buf) break; |
| 4742 | } |
| 4743 | } |
| 4744 | else sendstring("", po); |
| 4745 | } |
| 4746 | |
| 4747 | void extping_maprot(ucharbuf &po) |
| 4748 | { |
no test coverage detected