diff --git a/include/ircd.h b/include/ircd.h index f026f3d..6f2a5ae 100644 --- a/include/ircd.h +++ b/include/ircd.h @@ -109,4 +109,6 @@ extern int testing_conf; extern struct ev_entry *check_splitmode_ev; +extern int maxconnections; + #endif diff --git a/src/ircd.c b/src/ircd.c index 5d6e284..6ad6f61 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -78,7 +78,7 @@ extern int ServerRunning; extern struct LocalUser meLocalUser; extern char **myargv; -extern int maxconnections; /* XXX */ +int maxconnections; /* XXX */ /* * print_startup - print startup information