Update quitProc for nim 1.6 deprecation warning.
This commit is contained in:
parent
2980bff63e
commit
0739bac11c
2 changed files with 3 additions and 3 deletions
|
|
@ -31,11 +31,11 @@
|
|||
import
|
||||
db_postgres,
|
||||
json,
|
||||
math,
|
||||
nativesockets,
|
||||
net,
|
||||
parseopt,
|
||||
posix,
|
||||
std/exitprocs,
|
||||
strutils,
|
||||
strformat,
|
||||
tables,
|
||||
|
|
@ -382,7 +382,7 @@ proc parse_cmdline: Config =
|
|||
|
||||
|
||||
when isMainModule:
|
||||
system.addQuitProc( resetAttributes )
|
||||
addExitProc( resetAttributes )
|
||||
conf = parse_cmdline()
|
||||
if conf.debug: echo hl( $conf, fgYellow )
|
||||
serverloop( conf )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue