Module Help

These are old archives. They are kept for historic purposes only.
Post Reply
Blackbelt12
Posts: 17
Joined: Mon Feb 11, 2008 2:35 am

Module Help

Post by Blackbelt12 » Thu Mar 06, 2008 9:54 pm

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

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Module Help

Post by Jobe1986 » Thu Mar 06, 2008 11:00 pm

OperServ cannot load Unreal's modules. Unreals modules have to be loaded in unrealircd.conf using "loadmodule" lines.
Your IP: Image

Blackbelt12
Posts: 17
Joined: Mon Feb 11, 2008 2:35 am

Re: Module Help

Post by Blackbelt12 » Thu Mar 06, 2008 11:12 pm

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

Casper
Posts: 338
Joined: Sun Jul 08, 2007 7:44 am
Location: The Netherlands

Re: Module Help

Post by Casper » Fri Mar 07, 2008 8:23 am

Try loading the one with the ".so" extension for *NIX or for windows with the .DLL !
Ex Network-Administrator

Blackbelt12
Posts: 17
Joined: Mon Feb 11, 2008 2:35 am

Re: Module Help

Post by Blackbelt12 » Fri Mar 07, 2008 9:19 pm

Thanks a lot man it worked!

Post Reply