mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Send correct away status on client login
If some client now sets "us" away via /away, new clients will be sent a 306 numeric after login to inform them that they are set /away. Thanks to nobswolf for the suggestion. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1655 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -193,6 +193,12 @@ void CIRCSock::ReadLine(const CString& sData) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 305:
|
||||
m_pUser->SetIRCAway(false);
|
||||
break;
|
||||
case 306:
|
||||
m_pUser->SetIRCAway(true);
|
||||
break;
|
||||
case 331: {
|
||||
// :irc.server.com 331 yournick #chan :No topic is set.
|
||||
CChan* pChan = m_pUser->FindChan(sLine.Token(3));
|
||||
|
||||
Reference in New Issue
Block a user