Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index f56d3d24..e41546ec 100644
--- a/main.go
+++ b/main.go
@@ -290,6 +290,9 @@ func main() {
if (tgbottoken != "") || (tgbotchatid != "") || (tgbotRuntime != "") {
updateTgbotSetting(tgbottoken, tgbotchatid, tgbotRuntime)
}
+ if enabletgbot {
+ updateTgbotEnableSts(enabletgbot)
+ }
default:
fmt.Println("except 'run' or 'v2-ui' or 'setting' subcommands")
fmt.Println()