mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Allow explicitly disabling the ojoin/operprefix prefix characters.
This commit is contained in:
parent
173f88f084
commit
5084eca9ba
@ -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)
|
||||
{
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ public:
|
||||
OperPrefixMode(Module* Creator)
|
||||
: PrefixMode(Creator, "operprefix", 'y', OPERPREFIX_VALUE)
|
||||
{
|
||||
prefix = ServerInstance->Config->ConfValue("operprefix")->getCharacter("prefix", '!');
|
||||
prefix = ServerInstance->Config->ConfValue("operprefix")->getCharacter("prefix", '!', true);
|
||||
ranktoset = ranktounset = std::numeric_limits<ModeHandler::Rank>::max();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user