diff options
author | Steven Barth <steven@midlink.org> | 2008-06-14 14:55:49 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-14 14:55:49 +0000 |
commit | cb53f314f4cd3d60d64c36048f4dfd06f23cea3f (patch) | |
tree | e09a0778bcb37a2b4fed8672558e8e8afd927c40 /libs/core/luasrc | |
parent | 3eabbcc19185205dc9c91d90ee884c08156652af (diff) |
* Minor cleanups
Diffstat (limited to 'libs/core/luasrc')
-rw-r--r-- | libs/core/luasrc/util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/util.lua b/libs/core/luasrc/util.lua index fda4563ad3..3a0b2fbfc1 100644 --- a/libs/core/luasrc/util.lua +++ b/libs/core/luasrc/util.lua @@ -269,7 +269,7 @@ function threadlocal() local c = coroutine.running() local thread = coxpt[c] or c or 0 if not rawget(self, thread) then - rawset(self, thread, {}) + return nil end return rawget(self, thread)[key] end |