Skip to content

Commit

Permalink
fix copy detection
Browse files Browse the repository at this point in the history
  • Loading branch information
pakkographic committed Jun 28, 2024
1 parent 86cdfce commit ca12a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/structures/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export class Client extends TypedEmitter<ClientEvents> {
if (config.branch.toLowerCase().includes("development")) {
console.log("TouchGuild Development Build (v" + config.version + ")");
if (!this.params.updateWarning) return;
if (config.version !== "dev") {
if (!config.version.includes("dev")) {
console.log("█ This is a fork or copy of the TouchGuild library, " +
"make sure to respect the license associated to the it.\n" +
"█ If this fork was made to contribute, we thank you for your commitment!");
Expand Down

0 comments on commit ca12a60

Please sign in to comment.