]> git.lizzy.rs Git - go-anidb.git/commit
anidb: Don't send UDP queries if we have no credentials
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 23:19:51 +0000 (20:19 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 23:22:56 +0000 (20:22 -0300)
commitbde231761b889c8c874b85c7f8aa9e6570faecb9
tree64dab8b6b763a216b0b4f9dd5e696beaefdeb669
parente54415863fb1aaa9a12d4a351557667f2d668c30
anidb: Don't send UDP queries if we have no credentials

We'd just get a 501 error and wouldn't be able to do anything about it.
Skip the middleman and return the 501 right away.
udp.go