]> arthur.barton.de Git - ngircd.git/commit
Don't reset counters on RESTART
authorAlexander Barton <alex@barton.de>
Sun, 25 Apr 2010 10:54:13 +0000 (12:54 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 25 Apr 2010 10:54:13 +0000 (12:54 +0200)
commit73fd26e9fa708727e3f870052df0cc32e295bfc0
treef7ba3ba80b2d5dd5b3b9e213845181c74a89807a
parent79e1ec2b1e852e16fbf72c0a1af982d866f215b6
Don't reset counters on RESTART

When ngIRCd restarts, all the connection counters are preserved now,
as well as the command counters for example.

It's unclear if resetting or not resetting is the "correct" behaviour,
but it's quite clear that the behaviour should be consistent for all the
counters ngIRCd uses ...

And initializing "WCounter", the global but temporary write counter,
is not necessarry at all: it is initialized (reset) before its use in
the command parser (see parse.c).
src/ngircd/conn.c