stdlib compiles mostly without warnings again
This commit is contained in:
parent
8215a32edd
commit
550b5d9aea
9 changed files with 14 additions and 16 deletions
|
|
@ -476,12 +476,12 @@ when isMainModule:
|
|||
var client = irc("amber.tenthbit.net", nick="TestBot1234",
|
||||
joinChans = @["#flood"])
|
||||
client.connect()
|
||||
while True:
|
||||
while true:
|
||||
var event: TIRCEvent
|
||||
if client.poll(event):
|
||||
case event.typ
|
||||
of EvConnected:
|
||||
nil
|
||||
discard
|
||||
of EvDisconnected:
|
||||
break
|
||||
of EvMsg:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue