¶1The opinion of the court was delivered by
¶2J. H. Simmons sued Frederick A. Oatman and his two partners for a fee or commission for services rendered them as scout, agent or broker in assisting them in the purchase of a quantity of broom corn. He recovered a judgment, and the defendants appeal.
¶3
¶4There was evidence tending to show these facts: The defendants were in the business of buying and selling broom corn, operating in southwest Kansas, their headquarters being at Wichita. The plaintiff was engaged in buying, selling, looking up and locating broom corn. In 1914 he had bought broom corn from them and sold it to them, turned broom corn to them on a commission and bought it for them on commission. In November, 1915, the plaintiff met Oat-man at Liberal, who said to him: “I want you to keep me informed and let me know where you are, because I want you to buy some broom corn later on.” In the same month the plaintiff learned that one J. H. Johnson, who had assembled some 550 tons of broom corn, most of which was in a storehouse in Liberal, was willing to sell it all because of ill health. Johnson told the plaintiff that he wanted all he could get but would sell it right if the plaintiff would find a buyer — that he would as soon the plaintiff would have the money he could get out of it as anyone else. The plaintiff at once wired to Roy Findlay, the defendants’ agent, who was then on his *46way from Elkhart to Liberal: “Chance to buy big block.” Find-lay answered at once, “Will be in Liberal this p. m.” That afternoon Findlay, accompanied by S. C. Keeley, field buyer and manager for the defendants, and B. W. Wasserman, the representative of another broom corn buyer, who bought broom corn with the defendants, or from them, and for whom they bought, met the plaintiff at the hotel, where Findlay asked the plaintiff what was doing. They all went to the plaintiff’s room to clean up. While there they asked him if he couldn’t show them the broom corn without somebody butting in, he answering that he could. When he told them what broom corn he referred to in his telegram they said nothing about having seen Johnson; they asked him to show it to them — to take them over there. After they had eaten lunch they said: “Let’s go over there and look at the corn.” They all went to the storehouse, where the plaintiff climbed upon the pile of broom corn and threw samples down to Findlay. Keeley called the plaintiff into the door of the warehouse and asked him if he wouldn’t cut his commission, having some argument with him about it, and asking him to think it over. Keeley told the plaintiff: “I don’t know whether they are going to pull the deal off as Mr. Wasserman don’t seem to take hold”; and later, “Findlay is going to buy it, whether Wasserman buys it or not; is going to take a chance on it.” Still later Keeley asked the plaintiff to cut his commission to $2.50 a ton. The broom corn was bought by the defendants and Keeley shipped it out, the plaintiff being ready and willing to assist him, but not being called upon. The plaintiff admitted that it was generally known that Johnson had a quantity of broom corn but asserted that the fact communicated to him by Johnson that he was willing to sell at that time was not known to buyers. By the custom in the broom corn trade the buyer rather than the seller paid an agent’s commission, and the agent who had produced a seller was expected to see to shipping the broom corn if this was desired, the ordinary commission being $5 a ton.
¶5That some of this evidence was contradicted is of course not now important. We regard.it as sufficient to authorize the jury to conclude that the defendants knew that a part of the plaintiff’s business was to find broom corn for buyers; that they understood his telegram to Findlay to be an offer of his services in that capacity; that they invited and accepted his assistance, profited by the information he had given them, asked him to show them the broom corn, *47bought it by reason of the aid he had given, and became liable to him for the value of his services.
¶6
¶7
¶8
¶9
“That oa and after November first, nineteen, hundred and fourteen, special taxes shall be, and hereby are, imposed annually as follows, that is to say:
“Fourth. Commercial brokers shall pay $20. Every person, firm, or company whose business it is as a broker to negotiate sales or purchases of goods, wares, produce, or merchandise, . . . shall be regarded as a commercial broker under this Act.
“And every person who carries on any business or occupation for which special taxes are imposed by this Act, without having paid the special tax herein provided, shall, besides being liable to the payment of such special tax, be deemed guilty of a misdemeanor, and upon conviction thereof shall pay a fine of not more than $500, or be imprisoned not more than six months, or both, at the discretion of the court.” (38 U. S. Stat. 750, 751, 753:)
¶10This court has held that where a city ordinance imposes a license tax and forbids and punishes by fine the carrying on of a business to which such tax applies without paying it, no recovery can be had for services rendered in the course thereof by one who had not paid the tax. (Yount v. Denning, 52 Kan. 629, 35 Pac. 207.) It has also, while criticizing the doctrine there applied and expressing doubts of its soundness, refused to overrule the case, but explicitly upon the principle of stare decisis and upon the specific ground that the legislature by its inaction should be deemed to have accepted the rule of statutory construction there adopted, and with the suggestion that the rule should be restricted rather than enlarged. (Draper v. Miller, 92 Kan. 275, 140 Pac. 890, and cases there cited.) A distinction is to be noted between that case and this one. There the ordinance in so many words provided that no person should carry on the business without having paid the tax and obtained a license to do so. Here the statute imposes the tax and without in terms forbidding engaging in the taxed occupation prior to paying *49the tax provides a penalty for such conduct, characterizing it as a misdemeanor. The ordinary rule of course is that to penalize an act is to render it illegal and incapable of forming a valid consideration for a contract. (13 C. J. 421.) This is universally so when the prohibition is in the nature of a police regulation for the general protection. of the public morals or welfare. But the question is always one of legislative intent, and the modern and more reasonable view appears to be that “if the penalty is imposed for the protection of the revenue, it may be presumed that the legislature only desired to make it expensive to the parties in proportion as it is unprofitable to the revenue, and that their contracts are not void.” (13 C. J. 422; see, also, Id., 423; 6 R. C. L. 701-705, and notes.) The same principle is given effect although the statute contains an express prohibition of engaging in business without the payment of the tax. A typical recent case is Lloyd v. Johnson, 45 App. D. C. 322. The present question is as to the meaning of an act of congress, and in the absence of a controlling federal decision must be resolved according to the general law rather than according to the local law of Kansas. It does not appear to have been passed upon by the supreme court of the United States. The opinion in an early case contains some expressions favorable to one view and some favorable to the other, the decision not being conclusive either way. (Harris v. Runnels, 53 U. S. 79.) Irrespective of whether the Yount-Denning case was originally well decided and whether if accepted as sound it would control here if the matter were one of state law, we think by the weight of the more recent authorities and by the better reason the fact that the plaintiff had not paid the twenty-dollar federal tax upon his occupation as a commercial broker is not available to the defendants to defeat his otherwise valid claim for compensation for services rendered in that capacity.
¶11The judgment is affirmed.