mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:24:02 +03:00
Stats callbacks
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ func connectionManager() {
|
||||
for event := range ConnectionsChan {
|
||||
instance.mutex.RLock()
|
||||
|
||||
isIPv4 := event.addr.IP.To4() == nil
|
||||
isIPv4 := event.addr.IP.To4() != nil
|
||||
var inc uint32 = 1
|
||||
if !event.connected {
|
||||
inc = ^uint32(0)
|
||||
|
||||
Reference in New Issue
Block a user