aboutsummaryrefslogtreecommitdiff
path: root/modules/operprefix.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-01-17 13:43:05 +0000
committerGravatar Sadie Powell2025-01-17 13:57:32 +0000
commit7dbbc78421e3c5296d297190649ed58e4bcf052c (patch)
tree30af3b95f473a4a9234763f642e717f3a25dab70 /modules/operprefix.cpp
parentMove the starttls module to the contrib repository. (diff)
parentRun irctest on AArch64. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/operprefix.cpp')
-rw-r--r--modules/operprefix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operprefix.cpp b/modules/operprefix.cpp
index e1258ede0..896967f5c 100644
--- a/modules/operprefix.cpp
+++ b/modules/operprefix.cpp
@@ -1,7 +1,7 @@
/*
* InspIRCd -- Internet Relay Chat Daemon
*
- * Copyright (C) 2019-2022 Sadie Powell <sadie@witchery.services>
+ * Copyright (C) 2019-2022, 2024 Sadie Powell <sadie@witchery.services>
* Copyright (C) 2012-2016 Attila Molnar <attilamolnar@hush.com>
* Copyright (C) 2012 Robby <robby@chatbelgie.be>
* Copyright (C) 2009-2010 Craig Edwards <brain@inspircd.org>
@@ -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();
}
};