mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 13:23:13 +02:00
+- Fixed minor problem with mod_load code
This commit is contained in:
@@ -441,3 +441,4 @@
|
||||
- Made IP Mismatches getting sent to UMODE_JUNK instead
|
||||
- Added method mod_load in dummy example and made it work. mod_load() is executed
|
||||
when server is ready
|
||||
- Fixed minor problem with mod_load code
|
||||
|
||||
+1
-5
@@ -131,12 +131,8 @@ int load_module(char *module)
|
||||
if (!mod_unload)
|
||||
{
|
||||
mod_unload = irc_dlsym(Mod, "_mod_load");
|
||||
if (!mod_unload)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else
|
||||
if (mod_unload)
|
||||
{
|
||||
/* if ircd is booted, load it */
|
||||
if (loop.ircd_booted)
|
||||
|
||||
Reference in New Issue
Block a user