diff --git a/include/h.h b/include/h.h index 18386d5fb..4d4432dbf 100644 --- a/include/h.h +++ b/include/h.h @@ -551,7 +551,6 @@ extern void init_random(); extern u_char getrandom8(); extern u_int16_t getrandom16(); extern u_int32_t getrandom32(); -extern MODVAR char trouble_info[1024]; #define EVENT_DRUGS BASE_VERSION extern void rejoin_doquits(aClient *sptr); extern void rejoin_dojoinandmode(aClient *sptr); diff --git a/src/ircd.c b/src/ircd.c index f0d55151f..210e128e5 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -111,7 +111,6 @@ extern SERVICE_STATUS IRCDStatus; #endif unsigned char conf_debuglevel = 0; -char trouble_info[1024]; #ifdef USE_LIBCURL extern void url_init(void); @@ -1684,14 +1683,6 @@ void SocketLoop(void *dummy) { server_reboot("SIGINT"); } - - /* ThA UnReAl TrOuBlE RePoRtInG SyStEm!!! */ - if (trouble_info[0] != '\0') - { - sendto_realops("*** TROUBLE: %s ***", trouble_info); - ircd_log(LOG_ERROR, "TROUBLE: %s", trouble_info); - trouble_info[0] = '\0'; - } } }