Loadmodule directive

With loadmodule you tell UnrealIRCd to load a particular module. See Modules for more information.

Normally you put include "modules.default.conf"; in your unrealircd.conf and only use loadmodule directly for loading 3rd party modules (if any).

Syntax
loadmodule ;

UnrealIRCd automatically adds the correct suffix (.DLL or .so) and will also automatically deal with modules/ vs src/modules/ directories.

Example
/* Just load all of UnrealIRCd's functionality (all 150+ modules) */ include "modules.default.conf";

/* If you want to load modules\m_something.dll */ loadmodule "m_something";

/* If you want to load modules/whatever.so */ loadmodule "whatever";

/* If you want to load modules/third/something.so */ loadmodule "third/something";

Note that for both examples UnrealIRCd will take care of any prefixing of the modules directory (modules/) and suffixing (.so or .dll).