From 1a37a39a57a7f35ec34e780bf73dfd4126140eab Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 4 Nov 2013 23:13:30 +0100 Subject: [PATCH] awaystore: ping when requesting to come back When using the `back` command, also call `Ping()`. Otherwise, we will be marked away in less than a minute. (cherry picked from commit 459afe11e8aa6ff9e314d81ed6600bcb5d8f73b4) --- modules/awaystore.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/awaystore.cpp b/modules/awaystore.cpp index 53fe7aeb..a27d0947 100644 --- a/modules/awaystore.cpp +++ b/modules/awaystore.cpp @@ -67,6 +67,7 @@ class CAway : public CModule void BackCommand(const CString& sCommand) { if ((m_vMessages.empty()) && (sCommand.Token(1) != "-quiet")) PutModNotice("Welcome Back!"); + Ping(); Back(); }