diff options
| author | 2024-12-10 14:04:16 +0000 | |
|---|---|---|
| committer | 2024-12-10 14:04:16 +0000 | |
| commit | 5084eca9bae459d38fb509e56f7b0e67623e7f5e (patch) | |
| tree | a9cbdc216e05cb6f5e73600edadbd2cdc509077b /src/modules/m_ojoin.cpp | |
| parent | Write the pid file earlier to avoid a crash. (diff) | |
| download | inspircd++-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.cpp | 2 |
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) { } |
