diff options
-rw-r--r-- | language/anope.en_US.po | 18 | ||||
-rw-r--r-- | modules/chanserv/cs_drop.cpp | 6 | ||||
-rw-r--r-- | modules/nickserv/ns_drop.cpp | 8 |
3 files changed, 28 insertions, 4 deletions
diff --git a/language/anope.en_US.po b/language/anope.en_US.po index 65cfbe724..36bd6e185 100644 --- a/language/anope.en_US.po +++ b/language/anope.en_US.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: Anope\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-03-15 12:41+0000\n" -"PO-Revision-Date: 2024-03-15 12:41+0000\n" +"POT-Creation-Date: 2024-04-07 15:51+0100\n" +"PO-Revision-Date: 2024-04-07 15:51+0100\n" "Last-Translator: Sadie Powell <sadie@witchery.services>\n" "Language-Team: English\n" "Language: en_US\n" @@ -1876,12 +1876,26 @@ msgstr "" "SET permission." msgid "" +"Additionally, Services Operators with the chanserv/drop/override permission can\n" +"replace code with OVERRIDE to drop without a confirmation code." +msgstr "" +"Additionally, Services Operators with the chanserv/drop/override permission can\n" +"replace code with OVERRIDE to drop without a confirmation code." + +msgid "" "Additionally, Services Operators with the nickserv/confirm permission can\n" "replace passcode with a users nick to force validate them." msgstr "" "Additionally, Services Operators with the nickserv/confirm permission can\n" "replace passcode with a users nick to force validate them." +msgid "" +"Additionally, Services Operators with the nickserv/drop/override permission can\n" +"replace code with OVERRIDE to drop without a confirmation code." +msgstr "" +"Additionally, Services Operators with the nickserv/drop/override permission can\n" +"replace code with OVERRIDE to drop without a confirmation code." + #, c-format msgid "" "Additionally, if fantasy is enabled fantasy commands\n" diff --git a/modules/chanserv/cs_drop.cpp b/modules/chanserv/cs_drop.cpp index 1db7826d0..91032905f 100644 --- a/modules/chanserv/cs_drop.cpp +++ b/modules/chanserv/cs_drop.cpp @@ -50,7 +50,7 @@ public: } auto *code = dropcode.Get(ci); - if (params.size() < 2 || ((!code || !code->equals_ci(params[1])) && (!source.HasPriv("chanserv/drop/override") || params[1] != "override"))) + if (params.size() < 2 || ((!code || !code->equals_ci(params[1])) && (!source.HasPriv("chanserv/drop/override") || params[1] != "OVERRIDE"))) { if (!code) { @@ -94,6 +94,10 @@ public: source.Reply(_("Unregisters the named channel. Can only be used by\n" "the \002channel founder\002.")); + source.Reply(" "); + if (source.HasPriv("chanserv/drop/override")) + source.Reply(_("Additionally, Services Operators with the \037chanserv/drop/override\037 permission can\n" + "replace \037code\037 with \002OVERRIDE\002 to drop without a confirmation code.")); return true; } }; diff --git a/modules/nickserv/ns_drop.cpp b/modules/nickserv/ns_drop.cpp index da8211014..c35792060 100644 --- a/modules/nickserv/ns_drop.cpp +++ b/modules/nickserv/ns_drop.cpp @@ -58,7 +58,7 @@ public: } auto *code = dropcode.Get(na); - if (params.size() < 2 || ((!code || !code->equals_ci(params[1])) && (!source.HasPriv("nickserv/drop/override") || params[1] != "override"))) + if (params.size() < 2 || ((!code || !code->equals_ci(params[1])) && (!source.HasPriv("nickserv/drop/override") || params[1] != "OVERRIDE"))) { if (!code) { @@ -87,11 +87,17 @@ public: "is dropped you may lose all of your access and channels that\n" "you may own. Any other user will be able to gain control of\n" "this nick.")); + + source.Reply(" "); if (!source.HasPriv("nickserv/drop")) source.Reply(_("You may drop any nick within your group.")); else source.Reply(_("As a Services Operator, you may drop any nick.")); + source.Reply(" "); + if (source.HasPriv("nickserv/drop/override")) + source.Reply(_("Additionally, Services Operators with the \037nickserv/drop/override\037 permission can\n" + "replace \037code\037 with \002OVERRIDE\002 to drop without a confirmation code.")); return true; } }; |