author | Kim Alvefur <zash@zash.se> |
Sat, 23 Jun 2018 16:40:46 +0200 | |
changeset 3144 | 11087a72990b |
parent 3143 | 03cda95ae97a |
child 3145 | 774845606d73 |
--- a/mod_pastebin/mod_pastebin.lua Sat Jun 23 16:37:15 2018 +0200 +++ b/mod_pastebin/mod_pastebin.lua Sat Jun 23 16:40:46 2018 +0200 @@ -57,7 +57,7 @@ function pastebin_text(text) local uuid = uuid_new(); - pastes[uuid] = { body = text, time = os_time(), headers = default_headers }; + pastes[uuid] = { body = text, time = os_time(), }; pastes[#pastes+1] = uuid; if not pastes[2] then -- No other pastes, give the timer a kick add_task(expire_after, expire_pastes);