mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Updated to Mozilla/5.0 ! (not really)
This commit is contained in:
parent
4fe2973ccf
commit
5ba7442396
@ -879,7 +879,7 @@ public class PS {
|
||||
try {
|
||||
URL history = new URL(url);
|
||||
URLConnection con = history.openConnection();
|
||||
con.addRequestProperty("User-Agent", "Mozilla/4.0");
|
||||
con.addRequestProperty("User-Agent", "Mozilla/5.0");
|
||||
InputStream stream = con.getInputStream();
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(stream));
|
||||
String l;
|
||||
|
Loading…
Reference in New Issue
Block a user