mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 06:03:12 +02:00
fixed a module bug
This commit is contained in:
@@ -626,3 +626,4 @@ seen. gmtime warning still there
|
||||
- Made version.c depend on ../Changes
|
||||
- Made the ircd call mod_unload when it shuts down
|
||||
- Made use of the new module_load parameter in mod_init, and made commands.so use mod_load
|
||||
- Fixed a module bug where loading == unloading
|
||||
|
||||
+1
-1
@@ -178,7 +178,7 @@ int load_module(char *module, int module_load)
|
||||
mod_header->dll = Mod;
|
||||
mod_header->unload = mod_unload;
|
||||
|
||||
mod_unload = irc_dlsym(Mod, "mod_load");
|
||||
mod_load = irc_dlsym(Mod, "mod_load");
|
||||
if (!mod_load)
|
||||
{
|
||||
mod_load = irc_dlsym(Mod, "_mod_load");
|
||||
|
||||
Reference in New Issue
Block a user