fix mnettoftn
This commit is contained in:
parent
852da190e2
commit
17eba8a48f
@ -1 +1 @@
|
||||
Subproject commit 864d1078a4980f1a791998b154411bbe4128d9ee
|
||||
Subproject commit fc8b2b372db8fc1e0fd257843ce4d14d6813adf4
|
@ -410,6 +410,9 @@ int import(char *filename) {
|
||||
}
|
||||
return 1;
|
||||
} else {
|
||||
|
||||
areaid = -1;
|
||||
|
||||
for (i=0;i<area_count;i++) {
|
||||
if (msg.area == areas[i]->id) {
|
||||
areaid = i;
|
||||
@ -417,6 +420,10 @@ int import(char *filename) {
|
||||
}
|
||||
}
|
||||
|
||||
if (areaid == -1) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (areas[areaid]->hub == mynode) {
|
||||
if (msg.type == 1) {
|
||||
if (strncasecmp(body, "ADD", 3) == 0) {
|
||||
|
Reference in New Issue
Block a user