Removed unused code.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user