Merge pull request #442 from alliedmodders/netchanR
Use present netchannel instead of cached netchannel in CHookManager::SendFile.
This commit is contained in:
commit
ce25a44e00
@ -332,7 +332,7 @@ bool CHookManager::SendFile(const char *filename, unsigned int transferID)
|
||||
}
|
||||
|
||||
int userid = 0;
|
||||
IClient *pClient = (IClient *)m_pActiveNetChannel->GetMsgHandler();
|
||||
IClient *pClient = (IClient *)pNetChannel->GetMsgHandler();
|
||||
if (pClient != NULL)
|
||||
{
|
||||
userid = pClient->GetUserID();
|
||||
|
Loading…
Reference in New Issue
Block a user