summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backlog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backlog.cpp b/backlog.cpp
index e3a1e8b..e8f806d 100644
--- a/backlog.cpp
+++ b/backlog.cpp
@@ -156,6 +156,10 @@ void CBacklogMod::OnModCommand(const CString& sCommand) {
for (std::vector<CString>::reverse_iterator it = LinesToPrint.rbegin(); it != LinesToPrint.rend(); ++it) {
PutModule(*it);
}
+
+ if(printedLines == 0) {
+ PutModule("No log files found for window " + Channel + " in " + DirPath + "/");
+ }
}
template<> void TModInfo<CBacklogMod>(CModInfo& Info) {