MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FlushChannelList

Function FlushChannelList

netcon/mtclient/chat_api.cpp:1063–1073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061}
1062
1063void FlushChannelList() {
1064 Chat_channel *tmp_chan;
1065 Currchannel = Firstchannel;
1066
1067 while (Currchannel) {
1068 tmp_chan = Currchannel->next;
1069 DLLmem_free(Currchannel);
1070 Currchannel = tmp_chan;
1071 }
1072 Firstchannel = nullptr;
1073}
1074char *GetChannelList() {
1075 int ichan_list_length = 0;
1076 char sznumusers[10];

Callers 3

DisconnectFromChatServerFunction · 0.85
ParseIRCMessageFunction · 0.85
GetChannelListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected