summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/addline.cpp
diff options
context:
space:
mode:
authorRobby <Robby-@users.noreply.github.com>2019-04-28 10:14:21 +0200
committerPeter Powell <petpow@saberuk.com>2019-04-28 09:14:21 +0100
commite57d1b19ff4823b7885eb7f4d3b37c84d2edca0e (patch)
tree81e3825243464f332742b7e945053d32d726808b /src/modules/m_spanningtree/addline.cpp
parent2533dc10f987eedb99d780c7debd948f22705679 (diff)
Textual improvements and fixes such as typos, casing, etc. (#1612)
Diffstat (limited to 'src/modules/m_spanningtree/addline.cpp')
-rw-r--r--src/modules/m_spanningtree/addline.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/addline.cpp b/src/modules/m_spanningtree/addline.cpp
index a2c459f15..d6c33d2ff 100644
--- a/src/modules/m_spanningtree/addline.cpp
+++ b/src/modules/m_spanningtree/addline.cpp
@@ -31,7 +31,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
if (!xlf)
{
- ServerInstance->SNO->WriteToSnoMask('x',"%s sent me an unknown ADDLINE type (%s).",setter.c_str(),params[0].c_str());
+ ServerInstance->SNO->WriteToSnoMask('x', "%s sent me an unknown ADDLINE type (%s).", setter.c_str(), params[0].c_str());
return CMD_FAILURE;
}
@@ -42,7 +42,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
}
catch (ModuleException &e)
{
- ServerInstance->SNO->WriteToSnoMask('x',"Unable to ADDLINE type %s from %s: %s", params[0].c_str(), setter.c_str(), e.GetReason().c_str());
+ ServerInstance->SNO->WriteToSnoMask('x', "Unable to ADDLINE type %s from %s: %s", params[0].c_str(), setter.c_str(), e.GetReason().c_str());
return CMD_FAILURE;
}
xl->SetCreateTime(ConvToNum<time_t>(params[3]));
@@ -50,7 +50,7 @@ CmdResult CommandAddLine::Handle(User* usr, Params& params)
{
if (xl->duration)
{
- ServerInstance->SNO->WriteToSnoMask('X', "%s added %s%s on %s to expire in %s (on %s): %s",
+ ServerInstance->SNO->WriteToSnoMask('X', "%s added timed %s%s for %s, expires in %s (on %s): %s",
setter.c_str(), params[0].c_str(), params[0].length() == 1 ? "-line" : "",
params[1].c_str(), InspIRCd::DurationString(xl->duration).c_str(),
InspIRCd::TimeString(xl->expiry).c_str(), params[5].c_str());