about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/init.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/init.go b/src/init.go
index 7ebbd8b..2bf600b 100644
--- a/src/init.go
+++ b/src/init.go
@@ -40,13 +40,7 @@ func buildBot(i int, config *Config) {
 	radareCommand := fmt.Sprintf("rasm2 -a %s -b %d -f %s", config.Arch, config.Bits, botPath)
 	botSource := r2cmd(r2p1, radareCommand)
 
-	bot := Bot{
-		Path:   path,
-		Source: botSource,
-	}
-
-	// return the bot
-	return bot
+	config.Bots[i].Source = botSource
 }
 
 // init initializes the arena