big refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-17 17:26:45 +02:00
parent 3624c8c4c0
commit 6796fc1784
13 changed files with 106 additions and 113 deletions
+3
View File
@@ -17,6 +17,9 @@ local interface_mt = {
return state[self].data[key]
end,
__newindex = function(self, key, value)
if type(value) == 'string' then
aux.log('kek', debugstack(1, 0, 5))
end
if state[self].type == PUBLIC then
error('Unsupported operation.', 2)
elseif not state[self].access[PRIVATE][key] then