mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-22 16:02:54 +02:00
Changing server address for script repository
This commit is contained in:
@@ -1092,7 +1092,7 @@ int luatpt_getscriptid(lua_State* l)
|
|||||||
port = 10457;
|
port = 10457;
|
||||||
sock = socket(AF_INET, SOCK_STREAM, 0);
|
sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||||
|
|
||||||
server = gethostbyname(SERVER);
|
server = gethostbyname("chaos.powdertoy.co.uk");
|
||||||
//server = gethostbyname("localhost");
|
//server = gethostbyname("localhost");
|
||||||
if (server == NULL) {
|
if (server == NULL) {
|
||||||
luaL_error(l, "Error fetching host IP.");
|
luaL_error(l, "Error fetching host IP.");
|
||||||
|
Reference in New Issue
Block a user