]> jfr.im git - irc/eggheads/eggdrop.git/commitdiff
Fix socklist for bots without tls support
authorThomas Sader <redacted>
Mon, 15 Feb 2021 15:04:55 +0000 (16:04 +0100)
committerThomas Sader <redacted>
Mon, 15 Feb 2021 15:05:21 +0000 (16:05 +0100)
Patch by: mortmann

src/tcldcc.c

index f7072525880e1025275d873f7aafe3be6e3402de..09b549c6f8b2f9eaa767c643792511c4e1cd5d1c 100644 (file)
@@ -761,7 +761,7 @@ static void dccsocklist(Tcl_Interp *irp, int argc, char *type, int src) {
 #ifdef TLS
             dcc[i].ssl,
 #else
-            '0',
+            0,
 #endif
             dcc[i].type ? dcc[i].type->name : "*UNKNOWN*", other,
             timestamp);