frontend: fix telegram bot responding to non-commands
This commit is contained in:
@@ -142,6 +142,8 @@ func webHandlerTelegramBot(w http.ResponseWriter, r *http.Request) {
|
||||
/[trace|trace6] <IP>
|
||||
/whois <Target>
|
||||
`
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
commandResult = strings.TrimSpace(commandResult)
|
||||
|
||||
Reference in New Issue
Block a user