From 2ffcbed5bba918c374b560b4e472120de204600e Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 12 Nov 2011 09:46:14 +0700 Subject: [PATCH] Clarify the last commit a bit using a comment. --- src/User.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/User.cpp b/src/User.cpp index 48c83b37..9cb5067d 100644 --- a/src/User.cpp +++ b/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); }