atheme / atheme-contrib-modules

Community-supported modules for Atheme
https://atheme.github.io/
Other
33 stars 37 forks source link

Make ns_ajoin join users to channels after receiving their vHost #21

Open Techman opened 10 years ago

Techman commented 10 years ago

Right now in the contrib module ns_ajoin, users are joined to their set channels before they get their vHost from HostServ.

My idea is to either add a timed delay between identifying and ajoining users to their channels (so HostServ has time to set the vHost on the user), or adding a system to check whether HostServ has given the user their vHost yet before joining them to their channels. (Second idea was from jdhore1)

Getting users to use SASL doesn't always work. One example of this is SASL on InspIRCd.

Steps I used to reproduce: 1) Set up InspIRCd and Atheme 2) Load the ns_ajoin contrib module 3) Add some channels to your ajoin list 4) Reconnect and identify. Your host will be your original host (w/ or w/o +x depending on the net)