Module Help
-
- Posts: 17
- Joined: Mon Feb 11, 2008 2:35 am
Module Help
I know this is a stupid question, but how do I add a module to my IRC? I'm trying to add the m_listreg.c module and I get this error in IRC when I type /os modload m_listreg. The error I get is OS-Unable to load module m_listreg
Re: Module Help
OperServ cannot load Unreal's modules. Unreals modules have to be loaded in unrealircd.conf using "loadmodule" lines.
Your IP:
Your Country:
Your Country:
-
- Posts: 17
- Joined: Mon Feb 11, 2008 2:35 am
Re: Module Help
So would I put the m_listreg.c in the src/modules section of Unreal and NOT in the the scr/modules of Anope?
EDIT
Well I did that, put this in my unrealircd.conf: loadmodule "src/modules/m_listreg.c";
then I rehashed my IRC and then IRC gives me this error:
unrealircd.conf:38: loadmodule src/modules/m_listreg.c: failed to load: tmp/D0B83022.m_listreg.c: invalid ELF header
EDIT
Well I did that, put this in my unrealircd.conf: loadmodule "src/modules/m_listreg.c";
then I rehashed my IRC and then IRC gives me this error:
unrealircd.conf:38: loadmodule src/modules/m_listreg.c: failed to load: tmp/D0B83022.m_listreg.c: invalid ELF header
Re: Module Help
Try loading the one with the ".so" extension for *NIX or for windows with the .DLL !
Ex Network-Administrator
-
- Posts: 17
- Joined: Mon Feb 11, 2008 2:35 am
Re: Module Help
Thanks a lot man it worked!