Skip to content

Commit 7d7fa4d

Browse files
committed
Add implemented functions and delete functions to be implemented
1 parent fef96ef commit 7d7fa4d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ GPL-3.0第7节中的附加条款
2222
* 更稳定的FSD
2323
* ECHO防崩溃
2424
* 用户上下线记录
25-
## 待实现功能
2625
* 使用mySQL作为cert数据库
26+
## 待实现功能
2727
* 内置PDC
2828
* 内置语音实现
2929
* Remark同步

src/main/java/org/linktechtips/Main.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,14 +602,13 @@ private void makeConnections() {
602602
centry = cgroup.getEntry("allowfrom");
603603
if (centry != null) {
604604
/* Allow the configured servers */
605-
int nParts = centry.getNParts();
606-
for (int x = 0; x < nParts; x++) {
605+
int x, nParts = centry.getNParts();
606+
for (x = 0; x < nParts; x++) {
607607
serverInterface.allow(centry.getPart(x));
608608
}
609609
} else {
610610
LOGGER.warn("[BetterFSD]: No 'allowfrom' found, allowing everybody on the server port");
611611
}
612-
613612
serverInterface.sendReset();
614613
}
615614
}

0 commit comments

Comments
 (0)