Anope IRC Services

Anope Development => Modules => Topic started by: SpaceDoG on February 25, 2006, 08:23:25 PM

Title: [PROBLEM] ns_ajoin.c
Post by: SpaceDoG on February 25, 2006, 08:23:25 PM
When I run make modules and it gets to ns_ajoin.c I get this error.
Quote

ns_ajoin.c: In function `AnopeInit':
ns_ajoin.c:521: warning: implicit declaration of function `db_keepalive'
ns_ajoin.c: In function `get_src_dests':
ns_ajoin.c:687: warning: unused variable `destination'
ns_ajoin.c: In function `notice_user_ww':
ns_ajoin.c:840: warning: implicit declaration of function `vasprintf'
ns_ajoin.c: In function `ns_ajoin_replace':
ns_ajoin.c:1551: warning: unused variable `oldchanlist'
ns_ajoin.c: In function `ns_ajoin_list':
ns_ajoin.c:1606: warning: suggest parentheses around assignment used as truth va
lue
ns_ajoin.c: In function `do_on_identify':
ns_ajoin.c:1766: warning: suggest parentheses around assignment used as truth va
lue
ns_ajoin.c:1783: error: `CMODE_i' undeclared (first use in this function)
ns_ajoin.c:1783: error: (Each undeclared identifier is reported only once
ns_ajoin.c:1783: error: for each function it appears in.)
ns_ajoin.c: In function `group_info_ids':
ns_ajoin.c:1898: warning: suggest parentheses around assignment used as truth va
lue
ns_ajoin.c: In function `get_ajoin_list':
ns_ajoin.c:1968: warning: suggest parentheses around assignment used as truth va
lue
ns_ajoin.c: In function `update_ajoin_list':
ns_ajoin.c:2063: warning: unused variable `tempstr2'
make[1]: *** [ns_ajoin.o] Error 1


Any ideas?
Title:
Post by: Tom65789 on February 25, 2006, 08:27:20 PM
looking at that you got the one from the Anope module section, Trystan has an udated one which you can download from here:

http://nomadinc.net/mymods/files/ns_ajoin.c
Title:
Post by: SpaceDoG on February 25, 2006, 08:31:13 PM
Quote

[14:30:07] <Global> OperServ: SpaceDoG: modload ns_ajoin
[14:30:07] <Global> Trying to load module [ns_ajoin]
[14:30:07] <Global> [ns_ajoin] This module requires the IRCd to be SVSJOIN-capable
[14:30:07] <Global> [ns_ajoin] Module not loaded.
[14:30:07] <Global> ns_ajoin requested unload...
[14:30:07] <Global> PANIC! buffer = :SpaceDoG PRIVMSG OperServ@services.HyperMutt.com :modload ns_ajoin


That's with Trystans and I'm on Unreal 3.2.3
Title:
Post by: Trystan Scott Lee on February 25, 2006, 09:23:30 PM
The one on my site is NOT mine it is simba's I simple make it compile I never made any attempt to make it work, so not assume that cause its in my mass of modules that its one that I will support or work on
Title:
Post by: SpaceDoG on February 25, 2006, 09:29:51 PM
I hope that was directed towards me because I made no assumptions. I merely stated what happens when I try to use either one and am just seeking assistance in getting it to work.