diff --git a/extra/webapps/pastebin/pastebin.factor b/extra/webapps/pastebin/pastebin.factor index 9aefe15bca..ca7591afd1 100755 --- a/extra/webapps/pastebin/pastebin.factor +++ b/extra/webapps/pastebin/pastebin.factor @@ -79,6 +79,7 @@ C: annotation pastebin-pastes 2dup length swap set-paste-n push ; : submit-paste ( summary author channel mode contents -- ) + 2dup global [ 2array . flush ] bind [ pastebin store get-persistent add-paste store save-store @@ -100,7 +101,7 @@ C: annotation \ annotate-paste { { "n" v-required v-number } { "summary" "- no summary -" v-default } - { "author" v-required } + { "author" "- no author -" v-default } { "mode" "factor" v-default } { "contents" v-required } } define-action