aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-12-10 14:04:16 +0000
committerGravatar Sadie Powell2024-12-10 14:04:16 +0000
commit5084eca9bae459d38fb509e56f7b0e67623e7f5e (patch)
treea9cbdc216e05cb6f5e73600edadbd2cdc509077b /src/modules/m_ojoin.cpp
parentWrite the pid file earlier to avoid a crash. (diff)
downloadinspircd++-5084eca9bae459d38fb509e56f7b0e67623e7f5e.tar.gz
inspircd++-5084eca9bae459d38fb509e56f7b0e67623e7f5e.tar.bz2
inspircd++-5084eca9bae459d38fb509e56f7b0e67623e7f5e.zip
Allow explicitly disabling the ojoin/operprefix prefix characters.
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r--src/modules/m_ojoin.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{
}