mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-08-13 01:35:27 +02:00
Updated to Mozilla/5.0 ! (not really)
This commit is contained in:
@@ -879,7 +879,7 @@ public class PS {
|
|||||||
try {
|
try {
|
||||||
URL history = new URL(url);
|
URL history = new URL(url);
|
||||||
URLConnection con = history.openConnection();
|
URLConnection con = history.openConnection();
|
||||||
con.addRequestProperty("User-Agent", "Mozilla/4.0");
|
con.addRequestProperty("User-Agent", "Mozilla/5.0");
|
||||||
InputStream stream = con.getInputStream();
|
InputStream stream = con.getInputStream();
|
||||||
BufferedReader in = new BufferedReader(new InputStreamReader(stream));
|
BufferedReader in = new BufferedReader(new InputStreamReader(stream));
|
||||||
String l;
|
String l;
|
||||||
|
Reference in New Issue
Block a user