#include "privilege.h"
#include "bandbi.h"
#include "authd.h"
+#include "operhash.h"
/* /quote set variables */
struct SetOptions GlobalSetOptions;
{
unsigned int pid = (unsigned int) getpid();
- rb_snprintf(buff, sizeof(buff), "%u\n", pid);
+ snprintf(buff, sizeof(buff), "%u\n", pid);
if((fputs(buff, fb) == -1))
{
ilog(L_MAIN, "Error writing %u to pid file %s (%s)",
*/
setup_corefile();
+ /* initialise operhash fairly early. */
+ init_operhash();
+
memset(&me, 0, sizeof(me));
memset(&meLocalUser, 0, sizeof(meLocalUser));
me.localClient = &meLocalUser;
init_hook();
init_channels();
initclass();
- initwhowas();
+ whowas_init();
init_reject();
init_cache();
init_monitor();