]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/ngircd.c
New configuration option "RequireAuthPing": PING-PONG on login
[ngircd-alex.git] / src / ngircd / ngircd.c
index 4b49ec6cce56ba599616dce9049b1b15f99fad39..74a998800f364376a87efb290cd2d0dc030a2ab4 100644 (file)
@@ -289,6 +289,8 @@ main( int argc, const char *argv[] )
                        exit(1);
                }
 
+               srandom(getpid());
+
                /* Create protocol and server identification. The syntax
                 * used by ngIRCd in PASS commands and the known "extended
                 * flags" are described in doc/Protocol.txt. */