From 3c6e24665f52e3a38adfe4ab6a9adcbbb4926ca2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 11 Dec 2022 09:58:27 +0000 Subject: Move from m_sslinfo to core_oper and rework. - Promote autologin to a core concept with visibility in events. - Replace the binary yes/no value with strict/relaxed/never. This intentionally breaks v3 oper block autologin as admins will need to review them for the security implications of the new behaviour. --- src/modules/m_opermotd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_opermotd.cpp') diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index f109d43ee..7332f545b 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -136,7 +136,7 @@ public: { } - void OnPostOperLogin(User* user) override + void OnPostOperLogin(User* user, bool automatic) override { if (IS_LOCAL(user) && user->oper->GetConfig()->getBool("automotd", onoper)) cmd.ShowOperMOTD(user, false); -- cgit v1.3.1-10-gc9f91