1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 15:43:13 +02:00

Actually call moddata_free_channel(channel);

This was a FIXME item that should have been addressed earlier.
We didn't use any MODDATATYPE_CHANNEL in the core up to now so
this was overlooked. We do use it from now on, though, and it
may very well have been used in 3rd party modules already.
This commit is contained in:
Bram Matthys
2020-05-06 09:01:36 +02:00
parent 4e3817b4d5
commit b8d4cf7763
2 changed files with 2 additions and 1 deletions
-1
View File
@@ -125,7 +125,6 @@ void moddata_free_local_client(Client *client)
memset(client->moddata, 0, sizeof(client->moddata));
}
// FIXME: this is never called
void moddata_free_channel(Channel *channel)
{
ModDataInfo *md;