about summary refs log tree commit diff
path: root/src/logic.go
diff options
context:
space:
mode:
authorEmile <git@emile.space>2023-04-09 00:37:54 +0200
committerEmile <git@emile.space>2023-04-09 00:37:54 +0200
commit87142c0cb5f42d877327c357497a5be6f3c5dbd0 (patch)
treee4b2094315dc16fe680ad0a15587bb0671dea636 /src/logic.go
parent907f5bc763959c3cc2196329a600a8afedebac5a (diff)
Should work, lol
Diffstat (limited to 'src/logic.go')
-rw-r--r--src/logic.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/logic.go b/src/logic.go
deleted file mode 100644
index 5bc6461..0000000
--- a/src/logic.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package main
-
-import (
-	"log"
-
-	"github.com/radare/r2pipe-go"
-)
-
-func dead(r2p *r2pipe.Pipe, botid int) bool {
-	status := r2cmd(r2p, "?v 1+theend")
-
-	if status != "" && status != "0x1" {
-		log.Printf("[!] Bot %d has died", botid)
-		return true
-	}
-	return false
-}