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:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-03-09 01:08:04 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-03-09 01:08:04 +0300
commita0dd101d9778f11dfe4866e7bc71c5119bcbf6fa (patch)
treec86764ad4f0c62835e53c5cac419fd5fa8c837c0 /web/service
parent700cf9c10b28ebefcec9c927c6272a1307a3edc6 (diff)
tgbot - restart
change restart force to restart
Diffstat (limited to 'web/service')
-rw-r--r--web/service/tgbot.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/service/tgbot.go b/web/service/tgbot.go
index 7c6780d8..1bc504c9 100644
--- a/web/service/tgbot.go
+++ b/web/service/tgbot.go
@@ -307,8 +307,6 @@ func (t *Tgbot) answerCommand(message *telego.Message, chatId int64, isAdmin boo
onlyMessage = true
if isAdmin {
if len(commandArgs) == 0 {
- msg += t.I18nBot("tgbot.commands.restartUsage")
- } else if strings.ToLower(commandArgs[0]) == "force" {
if t.xrayService.IsXrayRunning() {
err := t.xrayService.RestartXray(true)
if err != nil {