mirror of
https://github.com/znc/znc.git
synced 2026-04-30 18:42:25 +02:00
Change to return the value from OnUserQuit() as request
This commit is contained in:
@@ -105,9 +105,10 @@ public:
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual void OnUserQuit(CString& sMessage) override {
|
||||
virtual EModRet OnUserQuit(CString& sMessage) override {
|
||||
if (m_bRules[RULE_QUIT])
|
||||
ClearAllBuffers();
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
void SetAllRules(bool bVal) {
|
||||
|
||||
Reference in New Issue
Block a user