Hello.
I'm thinking for a while now, but I can't find an adequate solution.
situation:
server A (public IRC server)
InspIRCd 2.0.12
Anope 1.8.8
server B (private board)
Server A has various chans with mode +r (registered users only). That works fine.
But now I want to add chans with an "extended +r mode" which only registered users from server B can join. It doesn't matter if they're registered on server A.
My ideas:
* Add an extra flag to the register command (server A). During the registration the membership on server B will be validated.
pro: seems to be the best way
con: user must be registered on server A, and I've to extend the source (register/identify) and database.
* Use an eggdrop which will verify every join on the restricted chans and kick unauthorized users.
pro: seems easy
con: various users can join the restricted chans, regular communication between server A and B.
* Use key/invite mode
pro: fastest way
con: Keys go public and invites has to be managed. This means a lot of work for a few thousand users from server B.
I'd like to realize my first idea. Either I create modules or I extend the existing source. I think modules are the better solution, but I've never done this before (writing an Anope module). Or is there already a solution for my / a similar problem? Maybe somebody has got a better idea?
I'd be grateful for any help, hints, tips or tricks.
best regards
ambta