From ab47d74da454ff5b41c0b4f5380db6e0beaa6da2 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 25 Sep 2009 20:27:05 +0000 Subject: Backed out a broker change that was unintentionally carried along in another commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818996 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SemanticState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp') diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index ed9b6653c3..a59d29c3cc 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -65,7 +65,7 @@ SemanticState::SemanticState(DeliveryAdapter& da, SessionContext& ss) tagGenerator("sgen"), dtxSelected(false), authMsg(getSession().getBroker().getOptions().auth && !getSession().getConnection().isFederationLink()), - userID(getSession().getConnection().getUserId()) + userID(getSession().getConnection().getUserId().substr(0,getSession().getConnection().getUserId().find('@'))) { acl = getSession().getBroker().getAcl(); } -- cgit v1.2.1