listsockets: Ignore dereferenced sockets
listsockets: Ignore dereferenced sockets

When someone connects to ZNC, this connection is first handled by an instance of
CIncomingConnection. Once we determined if this is a HTTP or an IRC connection,
the connection is handed of to the appropriate class.

The CIncomingConnection instance that was used first will still linger around
for the next event loop iteration and then be destroyed. Since this socket isn't
a "real" connection anymore (another instance of Csock took over for this one),
listsockets should ignore all sockets in state CLT_DEREFERENCE.


git-svn-id: 3ad904ec35b89a071badd9cb0113dfe58093e920@2213 726aef4b-f618-498e-8847-2d620e286838

badloop/znc,evilnet/znc,elyscape/znc,wolfy1339/znc,jreese/znc,markusj/znc,aarondunlap/znc,jreese/znc,wolfy1339/znc,ollie27/znc,GLolol/znc,KielBNC/znc,Hasimir/znc,KielBNC/znc,Phansa/znc,ollie27/znc,anthonyryan1/znc,elyscape/znc,trisk/znc,KielBNC/znc,Phansa/znc,znc/znc,Hasimir/znc,YourBNC/znc,Mkaysi/znc,znc/znc,Phansa/znc,wolfy1339/znc,Kriechi/nobnc,KiNgMaR/znc,Hasimir/znc,badloop/znc,jpnurmi/znc,TingPing/znc,dgw/znc,trisk/znc,kashike/znc,kashike/znc,TingPing/znc,aarondunlap/znc,psychon/znc,evilnet/znc,DarthGandalf/znc,dgw/znc,badloop/znc,withinsoft/znc,TuffLuck/znc,Adam-/znc,Adam-/znc,Hasimir/znc,trisk/znc,Mkaysi/znc,aarondunlap/znc,dgw/znc,withinsoft/znc,Kriechi/nobnc,BtbN/znc,elyscape/znc,Mikaela/znc,KiNgMaR/znc,DarthGandalf/znc,GLolol/znc,YourBNC/znc,markusj/znc,aarondunlap/znc,Hasimir/znc,jantman/znc,jantman/znc,TuffLuck/znc,Adam-/znc,evilnet/znc,Kriechi/znc,withinsoft/znc,elyscape/znc,Mkaysi/znc,TingPing/znc,reedloden/znc,KiNgMaR/znc,badloop/znc,aarondunlap/znc,GLolol/znc,psychon/znc,KielBNC/znc,KiNgMaR/znc,withinsoft/znc,badloop/znc,aarondunlap/znc,Zarthus/znc,BtbN/znc,znc/znc,Mkaysi/znc,KielBNC/znc,Zarthus/znc,Kriechi/nobnc,ollie27/znc,trisk/znc,wolfy1339/znc,jantman/znc,reedloden/znc,anthonyryan1/znc,BtbN/znc,Adam-/znc,BtbN/znc,anthonyryan1/znc,Kriechi/znc,DarthGandalf/znc,TuffLuck/znc,psychon/znc,KielBNC/znc,YourBNC/znc,Kriechi/znc,markusj/znc,Adam-/znc,Mikaela/znc,Mikaela/znc,Kriechi/znc,ollie27/znc,reedloden/znc,ollie27/znc,DarthGandalf/znc,Hasimir/znc,evilnet/znc,znc/znc,DarthGandalf/znc,Phansa/znc,BtbN/znc,Phansa/znc,jantman/znc,reedloden/znc,TingPing/znc,kashike/znc,Kriechi/znc,GLolol/znc,Zarthus/znc,jreese/znc,YourBNC/znc,Zarthus/znc,Mikaela/znc,TingPing/znc,TuffLuck/znc,Adam-/znc,Hasimir/znc,KiNgMaR/znc,kashike/znc,psychon/znc,reedloden/znc,KiNgMaR/znc,badloop/znc,anthonyryan1/znc,TingPing/znc,evilnet/znc,psychon/znc,jpnurmi/znc,GLolol/znc,trisk/znc,jpnurmi/znc,dgw/znc,TuffLuck/znc,badloop/znc,wolfy1339/znc,znc/znc,dgw/znc,withinsoft/znc,markusj/znc,elyscape/znc,aarondunlap/znc,jreese/znc,Phansa/znc,jreese/znc,anthonyryan1/znc,BtbN/znc,TuffLuck/znc,jantman/znc,DarthGandalf/znc,Zarthus/znc,Mkaysi/znc,evilnet/znc,TuffLuck/znc,Zarthus/znc,jreese/znc,Mikaela/znc,Adam-/znc,jpnurmi/znc,YourBNC/znc,GLolol/znc,anthonyryan1/znc,Mikaela/znc,Mikaela/znc,ollie27/znc,reedloden/znc,markusj/znc,psychon/znc,znc/znc,Kriechi/znc,anthonyryan1/znc,jpnurmi/znc,wolfy1339/znc,withinsoft/znc,elyscape/znc,YourBNC/znc,kashike/znc,Mkaysi/znc,trisk/znc,jpnurmi/znc,jantman/znc,kashike/znc,jpnurmi/znc,dgw/znc,markusj/znc,Mkaysi/znc