An experiment in requesting permissions and some related fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3937 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -141,6 +141,8 @@ function socket(request, response, client) { | ||||
| 				if (process) { | ||||
| 					core.enableStats(process, message.enabled); | ||||
| 				} | ||||
| 			} else if (message.action == 'permission') { | ||||
| 				core.setPermission(process, message.id, message.granted); | ||||
| 			} else { | ||||
| 				if (process && process.eventHandlers['message']) { | ||||
| 					await core.invoke(process.eventHandlers['message'], [message]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user