returns NULL if no line is there to print, otherwise returns a string to print (all preformatted of course)
| 303 | // returns NULL if no line is there to print, otherwise returns a string to |
| 304 | // print (all preformatted of course) |
| 305 | const char *GetChatText() { |
| 306 | |
| 307 | if (!Socket_connected) |
| 308 | return nullptr; |
| 309 | |
| 310 | // ChatGetString will do the formatting |
| 311 | return ChatGetString(); |
| 312 | } |
| 313 | |
| 314 | // Send a string to be sent as chat, or scanned for messages (/msg <user> |
| 315 | // string) |
no test coverage detected