- return ie.DoOnRequest(request);
- }
-
- void OnCleanup(int target_type, void* item)
- {
- ie.DoCleanup(target_type, item);
- }
-
- void OnSyncChannel(Channel* chan, Module* proto, void* opaque)
- {
- ie.DoSyncChannel(chan, proto, opaque);
+ if (invite_bypass_key)
+ return OnCheckInvite(user, chan);
+ return MOD_RES_PASSTHRU;