aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-16 16:16:29 +0100
committerGravatar Sadie Powell2022-04-16 16:16:29 +0100
commit30edd1070df3ddb2ae64b61b65c25f88a0b61e49 (patch)
tree85b33545d32405f7d531bfac2d0b991a6eba3e70 /src/modules/m_ojoin.cpp
parentFix the command used to retrieve the number of cores on Alpine. (diff)
parentBump peter-evans/create-pull-request from 3 to 4 (diff)
Merge branch 'insp3' into master.
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 caac9d0ed..3355ea0d0 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -116,7 +116,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")->getString("prefix", "\0", 1, 1)[0])
+ , np(this, ServerInstance->Config->ConfValue("ojoin")->getCharacter("prefix"))
, mycommand(this, np)
{
}