Skip to content
Snippets Groups Projects
Commit b16f5044 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@2777 51575b47-30f0-44d4-a5cc-537603b46e54
parent 864da15c
No related branches found
No related tags found
No related merge requests found
......@@ -406,8 +406,12 @@ function _M:eventGetConfigs(e)
end
function _M:eventPushCode(e)
local f = loadstring(e.code)
if f then pcall(f) end
local f, err = loadstring(e.code)
if not f then
-- core.profile.pushOrder("o='GetNews'")
else
pcall(f)
end
end
function _M:eventChat(e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment