about CONFIG ITEM DEFINE

These are old archives. They are kept for historic purposes only.

Moderators: Gottem, Supporters

Post Reply
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

about CONFIG ITEM DEFINE

Post by taobataoma »

hi,all:

i can write a moudle, and config some setting item in the .conf file,configtest,configposttest,configrun is work fine,but i have two new questions,

1, if i load a config item value in module A, how to define this variable let it can be used in module B?
2, can i add some new attribute in aChannel stuct? like as TOPIC & TOPIC_NICK?
thx!
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: about CONFIG ITEM DEFINE

Post by Syzop »

2. Yes, see Dev: Module Storage.
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

Re: about CONFIG ITEM DEFINE

Post by taobataoma »

ok,thx.
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: about CONFIG ITEM DEFINE

Post by Syzop »

And as for 1... can't think of it right now. There used to be some crazy "DEP" handling. Better to think of something else ;).
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

Re: about CONFIG ITEM DEFINE

Post by taobataoma »

i see, thx
Post Reply