Created LACK_ACCESS error code; use it for chat.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1879 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-11-01 01:01:27 +00:00
parent 8f1bfa66ff
commit 383d500f4b
2 changed files with 7 additions and 3 deletions
@@ -1,5 +1,5 @@
//
// $Id: ChatProvider.java,v 1.17 2002/11/01 00:57:50 mdb Exp $
// $Id: ChatProvider.java,v 1.18 2002/11/01 01:01:27 mdb Exp $
package com.threerings.crowd.chat;
@@ -95,7 +95,7 @@ public class ChatProvider
// make sure the requesting user has broadcast privileges
if (!CrowdServer.actrl.checkAccess(body, BROADCAST_TOKEN)) {
throw new InvocationException(ACCESS_DENIED);
throw new InvocationException(CrowdServer.actrl.LACK_ACCESS);
}
Iterator iter = CrowdServer.plreg.enumeratePlaces();