From 5084eca9bae459d38fb509e56f7b0e67623e7f5e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 10 Dec 2024 14:04:16 +0000 Subject: Allow explicitly disabling the ojoin/operprefix prefix characters. --- src/modules/m_ojoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ojoin.cpp') diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index c860c88f5..217aa9ab4 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -115,7 +115,7 @@ public: ModuleOjoin() : Module(VF_VENDOR, "Adds the /OJOIN command which allows server operators to join a channel and receive the server operator-only Y (official-join) channel prefix mode.") - , np(this, ServerInstance->Config->ConfValue("ojoin")->getCharacter("prefix")) + , np(this, ServerInstance->Config->ConfValue("ojoin")->getCharacter("prefix", '\0', true)) , mycommand(this, np) { } -- cgit v1.3.1-10-gc9f91