Removed unused code.

This commit is contained in:
Jakob Friedl
2025-10-01 15:27:06 +02:00
parent c97cb4585f
commit 0937840b77
10 changed files with 173 additions and 57 deletions

View File

@@ -1,11 +1,11 @@
import terminal, parsetoml, times, json, math
import terminal, parsetoml, json, math
import strutils, strformat, system, tables
import ./core/[agent, listener, builder]
import ./core/[listener, builder]
import ./globals
import ./db/database
import ./core/logger
import ../common/[types, crypto, utils, profile, event]
import ../common/[types, crypto, profile, event]
import ./websocket
import mummy, mummy/routers
@@ -22,7 +22,6 @@ proc init*(T: type Conquest, profile: Profile): Conquest =
cq.listeners = initTable[string, Listener]()
cq.threads = initTable[string, Thread[Listener]]()
cq.agents = initTable[string, Agent]()
cq.interactAgent = nil
cq.profile = profile
cq.keyPair = loadKeyPair(CONQUEST_ROOT & "/" & profile.getString("private-key-file"))
cq.dbPath = CONQUEST_ROOT & "/" & profile.getString("database-file")