1
0
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:
codemastr
2001-06-29 15:02:54 +00:00
parent 09e4767c45
commit 89ac1c8723
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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");