summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2018-10-14 07:23:06 +0200
committerPeter Powell <petpow@saberuk.com>2018-10-14 10:25:44 +0100
commit7498202cd661670ca8c615fe1001cbd30a83e29e (patch)
tree9b4346d7234df24757496112f96ab1c42fea9e43 /src/xline.cpp
parenta0f7d012791d79b67b56b62415f7901d5e48870f (diff)
Show reasons in xline expiry messages.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index d07fe0dc5..e0151b661 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -680,8 +680,8 @@ void ELine::OnAdd()
void XLine::DisplayExpiry()
{
bool onechar = (type.length() == 1);
- ServerInstance->SNO->WriteToSnoMask('x', "Removing expired %s%s %s (set by %s %ld seconds ago)",
- type.c_str(), (onechar ? "-Line" : ""), Displayable().c_str(), source.c_str(), (long)(ServerInstance->Time() - set_time));
+ ServerInstance->SNO->WriteToSnoMask('x', "Removing expired %s%s %s (set by %s %ld seconds ago): %s",
+ type.c_str(), (onechar ? "-Line" : ""), Displayable().c_str(), source.c_str(), (long)(ServerInstance->Time() - set_time), reason.c_str());
}
const std::string& ELine::Displayable()