changeset 3140:11087a72990b

mod_pastebin: Remove reference to removed header table
author Kim Alvefur <zash@zash.se>
date Sat, 23 Jun 2018 16:40:46 +0200
parents 03cda95ae97a
children 774845606d73
files mod_pastebin/mod_pastebin.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);