mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
Always call UserConnected()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@577 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-6
@@ -1191,12 +1191,8 @@ void CUserSock::AuthUser() {
|
||||
m_bAuthed = true;
|
||||
SetSockName("USR::" + pUser->GetUserName());
|
||||
|
||||
CIRCSock* pIRCSock = (CIRCSock*) CZNC::Get().FindSockByName("IRC::" + pUser->GetUserName());
|
||||
|
||||
if (pIRCSock) {
|
||||
m_pIRCSock = pIRCSock;
|
||||
m_pUser->UserConnected(this);
|
||||
}
|
||||
m_pIRCSock = (CIRCSock*) CZNC::Get().FindSockByName("IRC::" + pUser->GetUserName());
|
||||
m_pUser->UserConnected(this);
|
||||
|
||||
SendMotd();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user