Allow network specific quit messages (resolves #273)

This commit is contained in:
J-P Nurmi
2014-09-13 23:40:22 +02:00
parent 39d14a55e6
commit fb99593f75
3 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -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);
}