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

MOD_UNLOAD() was always called with an invalid modinfo argument.

This commit is contained in:
Bram Matthys
2019-06-28 21:01:43 +02:00
parent 7fe1848340
commit c720417487
+1 -1
View File
@@ -701,7 +701,7 @@ void Unload_all_loaded_modules(void)
irc_dlsym(mi->dll, "Mod_Unload", Mod_Unload);
if (Mod_Unload)
{
ret = (*Mod_Unload)(mi->modinfo);
ret = (*Mod_Unload)(&mi->modinfo);
if (ret == MOD_DELAY)
{
mi->flags |= MODFLAG_DELAYED;