Returns a structure which contains a command and possible some data (like a user joining or leaving) if one is waiting This tells you if you need to add a user from the userlist, remove a user, etc. Also for status messages, like if you get knocked off the server for some reason.
| 372 | // etc. Also for status messages, like if you get knocked |
| 373 | // off the server for some reason. |
| 374 | Chat_command *GetChatCommand() { |
| 375 | if (!Socket_connected) |
| 376 | return nullptr; |
| 377 | return GetChatCommandFromQueue(); |
| 378 | } |
| 379 | |
| 380 | // This function returns a list of users in the current channel, in one |
| 381 | // string, separated by spaces, terminated by a null |
nothing calls this directly
no test coverage detected