Cleany cleany.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5595 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -75,11 +75,10 @@ public class PresentsObjectAccess
|
|||||||
{
|
{
|
||||||
// if the subscriber is a client, ensure that they are this same user
|
// if the subscriber is a client, ensure that they are this same user
|
||||||
if (ProxySubscriber.class.isInstance(sub)) {
|
if (ProxySubscriber.class.isInstance(sub)) {
|
||||||
ProxySubscriber proxy = ProxySubscriber.class.cast(sub);
|
ClientObject clobj = ProxySubscriber.class.cast(sub).getClientObject();
|
||||||
if (proxy.getClientObject() != object) {
|
if (clobj != object) {
|
||||||
log.warning("Refusing ClientObject subscription request " +
|
log.warning("Refusing ClientObject subscription request",
|
||||||
"[obj=" + ((ClientObject)object).who() +
|
"obj", ((ClientObject)object).who(), "sub", clobj.who());
|
||||||
", sub=" + proxy.getClientObject().who() + "].");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user