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:
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 {