X-Git-Url: https://git.distorted.org.uk/~mdw/odin-cgi/blobdiff_plain/c68a55498f50946e8fca9361386e11769c63aa4e..93ec1b86debd6a714006d31969274262600dae64:/bin/pastebin.userv diff --git a/bin/pastebin.userv b/bin/pastebin.userv index fb3b740..c45d4e6 100755 --- a/bin/pastebin.userv +++ b/bin/pastebin.userv @@ -68,7 +68,7 @@ EOF ("SELECT lang FROM odin_pastebin_lang WHERE lang = ?", undef, $p{lang})} or Odin::fail "unknown language `$p{lang}'"; my ($tag, $edit) = Odin::new_pastebin %p; - print "$Odin::PASTEBIN/$url $edit\n"; + print "$Odin::PASTEBIN/$tag $edit\n"; } elsif ($op eq "get") { @ARGV == 1 or Odin::fail "usage: get TAG"; my ($tag) = @ARGV;