was of opinion that the bylaw was not contrary to the general law of the land, and was authorized by the charter of the town.