Skip to content

Commit

Permalink
Filter script testing..
Browse files Browse the repository at this point in the history
  • Loading branch information
ohanssen committed Sep 23, 2021
1 parent a3adb7a commit e3c6978
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/aprsd/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@

public class Main implements ServerAPI
{
public static String version = "2.7+";
public static String toaddr = "APPS27";
public static String version = "2.8";
public static String toaddr = "APPS28";

private static StationDB db = null;
private static AprsParser parser = null;
Expand Down Expand Up @@ -275,6 +275,11 @@ public boolean accept(File x)
}


public void simpleInit() {
_config = new Properties();
log = new Logfile(this);
}


public void start()
{
Expand Down
3 changes: 3 additions & 0 deletions src/filter/ViewFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ public static void init(ServerAPI api)
parser.parse();
_map = parser.getProfiles();
_tagrules = parser.getTagRules();
api.log().info("ViewFilter", "Done compiling view profiles.");
}
catch (FileNotFoundException e)
{ api.log().error("ViewFilter", "File not found '"+filename+"'"); }
}


}

0 comments on commit e3c6978

Please sign in to comment.