Freak out when they don't have access. Not when they do.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1878 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-11-01 00:57:50 +00:00
parent f25c028cca
commit 8f1bfa66ff
@@ -1,5 +1,5 @@
//
// $Id: ChatProvider.java,v 1.16 2002/10/31 23:27:16 mdb Exp $
// $Id: ChatProvider.java,v 1.17 2002/11/01 00:57:50 mdb Exp $
package com.threerings.crowd.chat;
@@ -94,7 +94,7 @@ public class ChatProvider
BodyObject body = (BodyObject)caller;
// make sure the requesting user has broadcast privileges
if (CrowdServer.actrl.checkAccess(body, BROADCAST_TOKEN)) {
if (!CrowdServer.actrl.checkAccess(body, BROADCAST_TOKEN)) {
throw new InvocationException(ACCESS_DENIED);
}