mirror of
https://github.com/znc/znc.git
synced 2026-05-08 14:24:45 +02:00
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 459afe11e8)
This commit is contained in:
committed by
Alexey Sokolov
parent
b29e7d57b2
commit
1a37a39a57
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user