2025-06-10 20:52:36 -04:00
|
|
|
mod more_auth;
|
2025-08-16 15:52:06 -04:00
|
|
|
//mod eac;
|
2025-06-10 20:52:36 -04:00
|
|
|
mod no_quit;
|
|
|
|
|
mod join_queue;
|
|
|
|
|
|
|
|
|
|
use polariton_server::operations::OperationsHandler;
|
|
|
|
|
|
2025-06-19 22:05:16 -04:00
|
|
|
pub fn handler(init_ctx: &crate::InitConfig) -> OperationsHandler<crate::UserTy> {
|
2025-06-10 20:52:36 -04:00
|
|
|
OperationsHandler::<crate::UserTy>::new()
|
2025-06-14 17:57:34 -04:00
|
|
|
.modify(oj_rc_core::polariton::RcOpModifier)
|
2025-06-10 20:52:36 -04:00
|
|
|
.add(more_auth::MoreLobbyAuth)
|
|
|
|
|
//.add(eac::EacChallengeIgnorer)
|
|
|
|
|
//.add(polariton_server::operations::Ack::<2, _>::default())
|
|
|
|
|
.add(no_quit::quit_blocker_provider())
|
2025-06-19 22:05:16 -04:00
|
|
|
.add(join_queue::join_queue_provider(&init_ctx.queue))
|
2025-06-10 20:52:36 -04:00
|
|
|
}
|