summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-12 19:24:31 +0000
committerSadie Powell <sadie@witchery.services>2024-03-12 19:24:31 +0000
commit22ba54b00dbeef1a7ab14c5d22a7360b47c29a40 (patch)
tree91ee25d989e0ac3ec62c97003a37e60bfaac5c8a
parent6fd7ca39e2ff6ba3c2e721e64432caa79ef0ffca (diff)
Show the full command in CONFIRM_DROP.
-rw-r--r--include/language.h2
-rw-r--r--language/anope.en_US.po8
-rw-r--r--modules/chanserv/cs_drop.cpp3
-rw-r--r--modules/nickserv/ns_drop.cpp3
4 files changed, 9 insertions, 7 deletions
diff --git a/include/language.h b/include/language.h
index 1f5889d94..405102c1d 100644
--- a/include/language.h
+++ b/include/language.h
@@ -65,7 +65,7 @@ namespace Language
} // namespace Language
/* Commonly used language strings */
-#define CONFIRM_DROP _("Please confirm that you want to drop \002%s\002 with \002DROP %s %s\002")
+#define CONFIRM_DROP _("Please confirm that you want to drop \002%s\002 with \002%s%s DROP %s %s\002")
#define MORE_INFO _("\002%s%s HELP %s\002 for more information.")
#define BAD_USERHOST_MASK _("Mask must be in the form \037user\037@\037host\037.")
#define BAD_EXPIRY_TIME _("Invalid expiry time.")
diff --git a/language/anope.en_US.po b/language/anope.en_US.po
index 97aea2c23..6bbaf6ffd 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-11 19:36+0000\n"
-"PO-Revision-Date: 2024-03-11 19:36+0000\n"
+"POT-Creation-Date: 2024-03-12 19:17+0000\n"
+"PO-Revision-Date: 2024-03-12 19:17+0000\n"
"Last-Translator: Sadie Powell <sadie@witchery.services>\n"
"Language-Team: English\n"
"Language: en_US\n"
@@ -5317,8 +5317,8 @@ msgid "Persistent"
msgstr "Persistent"
#, c-format
-msgid "Please confirm that you want to drop %s with DROP %s %s"
-msgstr "Please confirm that you want to drop %s with DROP %s %s"
+msgid "Please confirm that you want to drop %s with %s%s DROP %s %s"
+msgstr "Please confirm that you want to drop %s with %s%s DROP %s %s"
msgid "Please contact an Operator to get a vHost assigned to this nick."
msgstr "Please contact an Operator to get a vHost assigned to this nick."
diff --git a/modules/chanserv/cs_drop.cpp b/modules/chanserv/cs_drop.cpp
index cfeeddbdb..90a12fb1c 100644
--- a/modules/chanserv/cs_drop.cpp
+++ b/modules/chanserv/cs_drop.cpp
@@ -58,7 +58,8 @@ public:
*code = Anope::Random(15);
}
- source.Reply(CONFIRM_DROP, ci->name.c_str(), ci->name.c_str(), code->c_str());
+ source.Reply(CONFIRM_DROP, ci->name.c_str(), Config->StrictPrivmsg.c_str(),
+ source.service->nick.c_str(), ci->name.c_str(), code->c_str());
return;
}
diff --git a/modules/nickserv/ns_drop.cpp b/modules/nickserv/ns_drop.cpp
index a315deab5..89ca4c452 100644
--- a/modules/nickserv/ns_drop.cpp
+++ b/modules/nickserv/ns_drop.cpp
@@ -66,7 +66,8 @@ public:
*code = Anope::Random(15);
}
- source.Reply(CONFIRM_DROP, na->nick.c_str(), na->nick.c_str(), code->c_str());
+ source.Reply(CONFIRM_DROP, na->nick.c_str(), Config->StrictPrivmsg.c_str(),
+ source.service->nick.c_str(), na->nick.c_str(), code->c_str());
return;
}