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

oups

git-svn-id: http://svn.net-core.org/repos/t-engine4@3821 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3cff8084
No related branches found
No related tags found
No related merge requests found
......@@ -581,8 +581,7 @@ end
function _M:checkModuleHash(module, md5)
self.hash_valid = false
do self.hash_valid = true return true end
-- if not self.auth then return nil, "no online profile active" end
if not self.auth then return nil, "no online profile active" end
if config.settings.cheat then return nil, "cheat mode active" end
if game and game:isTainted() then return nil, "savefile tainted" end
core.profile.pushOrder(table.serialize{o="CheckModuleHash", module=module, md5=md5})
......
......@@ -44,7 +44,7 @@ end
function _M:sendKillerLink(msg, src)
local desc = nil
if src.tooltip then desc = tostring(src:tooltip(src.x, src.y, game.player)):removeUIDCodes() end
if src.tooltip then desc = tostring(src:tooltip(src.x, src.y, game.player) or "???"):removeUIDCodes() end
local ser = zlib.compress(table.serialize{kind="killer-link", msg=msg, desc=desc})
core.profile.pushOrder(string.format("o='ChatSerialData' channel=%q msg=%q", self.chat.cur_channel, ser))
end
......
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