From 0d93503ac7278528fbb95547090323354627eb8e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 17 Nov 2023 13:07:16 +0100 Subject: [PATCH] Load third/redact on Unreal --- .github/workflows/test-devel.yml | 2 ++ .github/workflows/test-stable.yml | 2 ++ irctest/controllers/unrealircd.py | 6 ++++++ workflows.yml | 1 + 4 files changed, 11 insertions(+) diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 7173c8c..c4a42ce 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -324,6 +324,7 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + ~/.local/unrealircd/unrealircd module install third/react # Prevent download of geoIP database on first startup sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball @@ -370,6 +371,7 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + ~/.local/unrealircd/unrealircd module install third/react # Prevent download of geoIP database on first startup sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index c3863ac..084b48f 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -364,6 +364,7 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + ~/.local/unrealircd/unrealircd module install third/react # Prevent download of geoIP database on first startup sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball @@ -410,6 +411,7 @@ jobs: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + ~/.local/unrealircd/unrealircd module install third/react # Prevent download of geoIP database on first startup sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf - name: Make artefact tarball diff --git a/irctest/controllers/unrealircd.py b/irctest/controllers/unrealircd.py index 8d7e643..bad7be7 100644 --- a/irctest/controllers/unrealircd.py +++ b/irctest/controllers/unrealircd.py @@ -13,6 +13,7 @@ TEMPLATE_CONFIG = """ include "modules.default.conf"; include "operclass.default.conf"; {extras} +loadmodule "third/redact"; include "help/help.conf"; me {{ @@ -96,6 +97,11 @@ set {{ }} modes-on-join "+H 100:1d"; // Enables CHATHISTORY + redacters {{ + op; + sender; + }} + {set_v6only} }} diff --git a/workflows.yml b/workflows.yml index 65e27e2..0ac243b 100644 --- a/workflows.yml +++ b/workflows.yml @@ -289,6 +289,7 @@ software: CFLAGS="-O0 -march=x86-64" CXXFLAGS="$CFLAGS" ./Config -quick make -j 4 make install + ~/.local/unrealircd/unrealircd module install third/react # Prevent download of geoIP database on first startup sed -i 's/loadmodule "geoip_classic";//' ~/.local/unrealircd/conf/modules.default.conf