init(Server server, String prefix) {
this.prefix = prefix;
command = server.props.getProperty(prefix + "command");
String reString = server.props.getProperty(prefix + "types");
try {
types = new Regexp(reString, true);
} catch (IllegalArgumentException e) {
server.log(Server.LOG_WARNING, prefix, "Invalid regexp");
return false;
}
return (command != null);