summaryrefslogtreecommitdiff
path: root/modules/memoserv/memoserv.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-16 00:04:30 +0100
committerSadie Powell <sadie@witchery.services>2025-04-16 00:04:30 +0100
commitce362854a39c35249f8d2c7bcf27e3d5f9aa9980 (patch)
tree6d4012d9579c2d56055d621768122cf5f3b658ba /modules/memoserv/memoserv.cpp
parenta883b616a1360ba74254661cbd39280404d1753a (diff)
Update as many messages as possible for automatic line wrapping.
Diffstat (limited to 'modules/memoserv/memoserv.cpp')
-rw-r--r--modules/memoserv/memoserv.cpp23
1 files changed, 14 insertions, 9 deletions
diff --git a/modules/memoserv/memoserv.cpp b/modules/memoserv/memoserv.cpp
index b653e8ade..e25497f0d 100644
--- a/modules/memoserv/memoserv.cpp
+++ b/modules/memoserv/memoserv.cpp
@@ -214,12 +214,17 @@ public:
{
if (!params.empty() || source.c || source.service != *MemoServ)
return EVENT_CONTINUE;
- source.Reply(_("\002%s\002 is a utility allowing IRC users to send short\n"
- "messages to other IRC users, whether they are online at\n"
- "the time or not, or to channels(*). Both the sender's\n"
- "nickname and the target nickname or channel must be\n"
- "registered in order to send a memo.\n"
- "%s's commands include:"), MemoServ->nick.c_str(), MemoServ->nick.c_str());
+ source.Reply(_(
+ "\002%s\002 is a utility allowing IRC users to send short "
+ "messages to other IRC users, whether they are online at "
+ "the time or not, or to channels(*). Both the sender's "
+ "nickname and the target nickname or channel must be "
+ "registered in order to send a memo."
+ "\n\n"
+ "%s's commands include:"
+ ),
+ MemoServ->nick.c_str(),
+ MemoServ->nick.c_str());
return EVENT_CONTINUE;
}
@@ -227,9 +232,9 @@ public:
{
if (!params.empty() || source.c || source.service != *MemoServ)
return;
- source.Reply(_(" \n"
- "Type \002%s \037command\037\002 for help on any of the\n"
- "above commands."),
+
+ source.Reply(" ");
+ source.Reply(_("Type \002%s\032\037command\037\002 for help on any of the above commands."),
MemoServ->GetQueryCommand("generic/help").c_str());
}
};