Skip to content
Snippets Groups Projects
Commit 459afe11 authored by Vincent Bernat's avatar Vincent Bernat
Browse files

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.
parent 66eba26e
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment