diff options
| author | 2022-04-05 20:50:05 +0100 | |
|---|---|---|
| committer | 2022-04-05 20:50:05 +0100 | |
| commit | 233f3b55a2ecc93f132d32afdf5740575dbbe0be (patch) | |
| tree | db4fc77a7c979fa96257bdabac225e994bbaf73e /src | |
| parent | Update the Windows dependencies to fix a version conflict. (diff) | |
Fix some more grammar errors in xline messages.
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/m_svshold.cpp | 5 | ||||
| -rw-r--r-- | src/xline.cpp | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index 87b4948ed..593d2dcae 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -63,10 +63,7 @@ public: void DisplayExpiry() CXX11_OVERRIDE { if (!silent) - { - ServerInstance->SNO->WriteToSnoMask('x', "Removing expired SVSHOLD %s (set by %s %s ago): %s", - nickname.c_str(), source.c_str(), InspIRCd::DurationString(ServerInstance->Time() - set_time).c_str(), reason.c_str()); - } + XLine::DisplayExpiry(); } const std::string& Displayable() CXX11_OVERRIDE diff --git a/src/xline.cpp b/src/xline.cpp index f3a8866e9..e01ef65b1 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -741,7 +741,7 @@ void ELine::OnAdd() void XLine::DisplayExpiry() { bool onechar = (type.length() == 1); - ServerInstance->SNO->WriteToSnoMask('x', "Removing expired %s%s %s (set by %s %s ago): %s", + ServerInstance->SNO->WriteToSnoMask('x', "Removing an expired %s%s on %s (set by %s %s ago): %s", type.c_str(), (onechar ? "-line" : ""), Displayable().c_str(), source.c_str(), InspIRCd::DurationString(ServerInstance->Time() - set_time).c_str(), reason.c_str()); } |
