From 7498202cd661670ca8c615fe1001cbd30a83e29e Mon Sep 17 00:00:00 2001 From: Robby Date: Sun, 14 Oct 2018 07:23:06 +0200 Subject: Show reasons in xline expiry messages. --- src/xline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xline.cpp') 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() -- cgit v1.3.1-10-gc9f91