# HG changeset patch # User Matthew Wild # Date 1274360276 -3600 # Node ID ff9790b827b72379751b90815bfb47b61df29669 # Parent d7ce8ba2c462bcac099d7c1887d79fdc6d0b6170 Remove tellings after someone comes online (thanks Florob) diff -r d7ce8ba2c462 -r ff9790b827b7 plugins/tell.lua --- a/plugins/tell.lua Thu May 20 13:45:53 2010 +0100 +++ b/plugins/tell.lua Thu May 20 13:57:56 2010 +0100 @@ -40,6 +40,7 @@ for _,msg in ipairs(tellings[occupant.nick]) do room:send_message(occupant.nick .. ": Welcome back! " .. msg.from .. " told me, to tell you, \"" .. msg.msg .. "\"."); end + tellings[occupant.nick] = nil; end end); end);