Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Commit 3ae6994

Browse files
committed
Fixed ban bug and redirection
1 parent 417929a commit 3ae6994

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

PtokaX/cfg.example/Settings.pxt

+3-3
Original file line numberDiff line numberDiff line change
@@ -357,19 +357,19 @@ SameSearchMessages = 0
357357
#
358358

359359
# Hub name. Minimal length 1, maximal length 256. $ and | is not allowed
360-
#HubName = <Enter hub name here>
360+
#HubName = MetaHub
361361
# Admin nick. Minimal length 1. Maximal length 64. $, | and space is not allowed
362362
#AdminNick = Admin
363363
# Hub address. Minimal length 1. Maximal length 256. $ and | is not allowed
364-
#HubAddress = <Enter hub address here>
364+
#HubAddress = 10.112.5.167
365365
# TCP ports. Minimal length 1. Maximal length 64
366366
#TCPPorts = 1209;411
367367
# UDP port. Minimal length 1. Maximal length 5
368368
#UDPPort = 0
369369
# Hub description. Maximal length 256. $ and | is not allowed
370370
#HubDescription =
371371
# Main redirect address. Maximal length 256. | is not allowed
372-
#RedirectAddress = PtokaX-Alpha.CzDC.org:6891
372+
#RedirectAddress = 10.112.5.167:411
373373
# Hublist register servers. Maximal length 1024
374374
#RegisterServers = reg.hublist.org;serv.hubs-list.com;hublist.cz;hublist.dreamland-net.eu;allhublista.myip.hu;publichublist-nl.no-ip.org;reg.hublist.dk;hublist.te-home.net;dc.gwhublist.com
375375
# Registered users only message. Minimal length 1. Maximal length 256. | is not allowed

PtokaX/core/SettingDefaults.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,13 @@ int16_t SetShortDef[] = {
211211
};
212212

213213
const char* SetTxtDef[] = {
214-
"<Enter hub name here>", //HUB_NAME
214+
"MetaHub", //HUB_NAME
215215
"Admin", //ADMIN_NICK
216-
"<Enter hub address here>", //HUB_ADDRESS
216+
"10.112.5.167", //HUB_ADDRESS
217217
"1209;411", //TCP_PORTS
218218
"0", //UDP_PORT
219219
"", //HUB_DESCRIPTION
220-
"PtokaX-Alpha.CzDC.org:6891", //REDIRECT_ADDRESS
220+
"10.112.5.167:411", //REDIRECT_ADDRESS
221221
"reg.hublist.org;serv.hubs-list.com;hublist.cz;hublist.dreamland-net.eu;allhublista.myip.hu;publichublist-nl.no-ip.org;reg.hublist.dk;hublist.te-home.net;dc.gwhublist.com", //REGISTER_SERVERS
222222
"Sorry, this hub is only for registered users.", //REG_ONLY_MSG
223223
"", //REG_ONLY_REDIR_ADDRESS

0 commit comments

Comments
 (0)