mirror of
https://github.com/znc/znc.git
synced 2026-06-28 05:51:50 +02:00
Allow network specific quit messages (resolves #273)
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ void CIRCSock::Quit(const CString& sQuitMsg) {
|
||||
if (!sQuitMsg.empty()) {
|
||||
PutIRC("QUIT :" + sQuitMsg);
|
||||
} else {
|
||||
PutIRC("QUIT :" + m_pNetwork->ExpandString(m_pNetwork->GetUser()->GetQuitMsg()));
|
||||
PutIRC("QUIT :" + m_pNetwork->ExpandString(m_pNetwork->GetQuitMsg()));
|
||||
}
|
||||
Close(CLT_AFTERWRITE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user