Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: modules  (Read 3292 times)

0 Members and 1 Guest are viewing this topic.

pusher

  • Guest
modules
« on: September 24, 2007, 04:32:21 AM »

Hello,

recently the people on my irc have been wanting AJOIN to be added to nickserv.

I am running unrealircd 3.2.7 and anope 1.7.19 on a linux shell.

What I am trying to figure out is how to add the module (which came as ns_ajoin.c) to my irc without losing my database etc.

I have looked through /Docs/MODULE but that did not seem to help because I always end up running into a

"Cannot Fork: Resource temporarely unavailable"

and Makefile gives me a Permission Denied.


I would appreciate any help

Thanks in advance,

pusher.
Logged

GhosT

  • Guest
(No subject)
« Reply #1 on: September 24, 2007, 03:20:43 PM »

Do you mean you need AJOIN module?
If yes, try this http://modules.anope.org/viewmod.php?id=96
Logged

Sausage

  • Guest
(No subject)
« Reply #2 on: September 25, 2007, 02:51:22 AM »

copy ns_ajoin to your pre-compiled anope dir

mine is on /ser/anope-1.7.19/src/modules

then, cd back to your anope dir (mine would be /ser/anope-1.7.19) and type 'make modules'

after that, cd back to src/modules and copy ns_ajoin.so to your services folder under modules. and then loaded with /os modload

hope thats clear ~_~ and hope that was the answer ya needed. =)
Logged

katsklaw

  • Guest
(No subject)
« Reply #3 on: September 25, 2007, 03:16:15 AM »

Quote
Originally posted by Sausage
copy ns_ajoin to your pre-compiled anope dir

mine is on /ser/anope-1.7.19/src/modules

then, cd back to your anope dir (mine would be /ser/anope-1.7.19) and type 'make modules'

after that, cd back to src/modules and copy ns_ajoin.so to your services folder under modules. and then loaded with /os modload

hope thats clear ~_~ and hope that was the answer ya needed. =)


how about this:

1> places file_name.c in src/modules
2> cd anope-1.7.x
3> make modules
4> make install
5> on irc: /operserv modload file_name
Logged

Sausage

  • Guest
(No subject)
« Reply #4 on: September 25, 2007, 04:59:02 AM »

yah that works too.

Good luck!
Logged

pusher

  • Guest
(No subject)
« Reply #5 on: September 25, 2007, 05:26:16 AM »

thanks alot, will try this once my shell stops getting dossed ;(
Logged

katsklaw

  • Guest
(No subject)
« Reply #6 on: September 25, 2007, 06:04:47 AM »

Quote
Originally posted by pusher
thanks alot, will try this once my shell stops getting dossed ;(


The exact same steps I described are in doc/MODULES, section #5.
Logged

pusher

  • Guest
(No subject)
« Reply #7 on: September 25, 2007, 06:08:35 AM »

my bad, i missed that part
Logged

pusher

  • Guest
(No subject)
« Reply #8 on: September 26, 2007, 06:37:47 AM »

tried this, i keep getting a

Code: [Select]
Could not fork
*** Error code 2


would it be possible to get a compiled ns_ajoin.so ?

[Edited on 26-9-2007 by pusher]
Logged
Pages: [1]   Go Up