Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clarify the last commit a bit using a comment.

  • Loading branch information...
commit 2ffcbed5bba918c374b560b4e472120de204600e 1 parent 0b57b7d
Alexey Sokolov authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/User.cpp
View
2  src/User.cpp
@@ -643,6 +643,8 @@ bool CUser::Clone(const CUser& User, CString& sErrorRet, bool bCloneChans) {
while (vClients.begin() != vClients.end()) {
CClient *pClient = vClients.front();
+ // This line will remove pClient from vClients,
+ // because it's a reference to the internal Network's vector.
pClient->SetNetwork(NULL);
}
Please sign in to comment.
Something went wrong with that request. Please try again.