Permalink
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.
  • Loading branch information...
1 parent 66eba26 commit 459afe11e8aa6ff9e314d81ed6600bcb5d8f73b4 @vincentbernat vincentbernat committed Nov 4, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 modules/awaystore.cpp
View
1 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();
}

0 comments on commit 459afe1

Please sign in to comment.