summaryrefslogtreecommitdiff
path: root/modules/operserv/os_news.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/operserv/os_news.cpp
parenta883b616a1360ba74254661cbd39280404d1753a (diff)
Update as many messages as possible for automatic line wrapping.
Diffstat (limited to 'modules/operserv/os_news.cpp')
-rw-r--r--modules/operserv/os_news.cpp36
1 files changed, 21 insertions, 15 deletions
diff --git a/modules/operserv/os_news.cpp b/modules/operserv/os_news.cpp
index e5b6b057c..37eeef1c1 100644
--- a/modules/operserv/os_news.cpp
+++ b/modules/operserv/os_news.cpp
@@ -319,12 +319,14 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Edits or displays the list of logon news messages. When a\n"
- "user connects to the network, these messages will be sent\n"
- "to them. However, no more than \002%d\002 messages will be\n"
- "sent in order to avoid flooding the user. If there are\n"
- "more news messages, only the most recent will be sent."),
- Config->GetModule(this->owner).Get<unsigned>("newscount", "3"));
+ source.Reply(_(
+ "Edits or displays the list of logon news messages. When a "
+ "user connects to the network, these messages will be sent "
+ "to them. However, no more than \002%d\002 messages will be "
+ "sent in order to avoid flooding the user. If there are "
+ "more news messages, only the most recent will be sent."
+ ),
+ Config->GetModule(this->owner).Get<unsigned>("newscount", "3"));
return true;
}
};
@@ -347,12 +349,14 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Edits or displays the list of oper news messages. When a\n"
- "user opers up (with the /OPER command), these messages will\n"
- "be sent to them. However, no more than \002%d\002 messages will\n"
- "be sent in order to avoid flooding the user. If there are\n"
- "more news messages, only the most recent will be sent."),
- Config->GetModule(this->owner).Get<unsigned>("newscount", "3"));
+ source.Reply(_(
+ "Edits or displays the list of oper news messages. When a "
+ "user opers up (with the /OPER command), these messages will "
+ "be sent to them. However, no more than \002%d\002 messages will "
+ "be sent in order to avoid flooding the user. If there are "
+ "more news messages, only the most recent will be sent."
+ ),
+ Config->GetModule(this->owner).Get<unsigned>("newscount", "3"));
return true;
}
};
@@ -375,9 +379,11 @@ public:
{
this->SendSyntax(source);
source.Reply(" ");
- source.Reply(_("Edits or displays the list of random news messages. When a\n"
- "user connects to the network, one (and only one) of the\n"
- "random news will be randomly chosen and sent to them."));
+ source.Reply(_(
+ "Edits or displays the list of random news messages. When a "
+ "user connects to the network, one (and only one) of the "
+ "random news will be randomly chosen and sent to them."
+ ));
return true;
}
};