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:
authorHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-20 18:09:01 +0300
committerHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-20 18:09:01 +0300
commit678962d4ca3045bd869930efef0a196a0f8a29ba (patch)
treeb24dbc680548b3885598dd9303dd35d01a538ed1 /web/web.go
parent795835c54fbbaf35755c13855fb2b64e4e85e49c (diff)
some fix and prune for tgbot
Diffstat (limited to 'web/web.go')
-rw-r--r--web/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go
index 1795e1d4..bd1c4721 100644
--- a/web/web.go
+++ b/web/web.go
@@ -453,7 +453,7 @@ func (s *Server) Stop() error {
if s.cron != nil {
s.cron.Stop()
}
- if s.tgbotService.IsRunnging() {
+ if s.tgbotService.IsRunning() {
s.tgbotService.Stop()
}
var err1 error