Always reset a line's party when logout is required in user.login message.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4541 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
marian 2011-08-11 14:52:32 +00:00
parent fe5e9943fd
commit 161554d22d
1 changed files with 1 additions and 2 deletions

View File

@ -6815,8 +6815,7 @@ bool YateSIPLine::update(const Message& msg)
const String& oper = msg[YSTRING("operation")];
if (oper == YSTRING("logout")) {
logout();
if (!m_keepTcpOffline)
setParty();
setParty();
return true;
}
bool chg = updateProto(msg);