chiark
/
gitweb
/
~mdw
/
odin-cgi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The official `plain text' language is `txt'.
[odin-cgi]
/
bin
/
pastebin.userv
diff --git
a/bin/pastebin.userv
b/bin/pastebin.userv
index bc7a9147923fdf78afc6e0042e0f40c1a7f64bfb..4d5d4c01807f46d38f844e3cd2b63a8bf495ff48 100755
(executable)
--- a/
bin/pastebin.userv
+++ b/
bin/pastebin.userv
@@
-56,7
+56,7
@@
EOF
my %o;
getopts "l:t:", \%o and @ARGV == 0
or Odin::fail "usage: new [-l LANG] [-t TITLE]";
my %o;
getopts "l:t:", \%o and @ARGV == 0
or Odin::fail "usage: new [-l LANG] [-t TITLE]";
- my %p = (title => decode(locale => $o{t}), lang => $o{l} // "
plain-te
xt",
+ my %p = (title => decode(locale => $o{t}), lang => $o{l} // "
t
xt",
content => read_content);
my $db = Odin::open_db;
my $c = "";
content => read_content);
my $db = Odin::open_db;
my $c = "";