1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 18:23:12 +02:00

- remove 'trouble reporting system' used by old dbuf code. new dbuf code cannot have a malloc failure due to memory pooling.

This commit is contained in:
William Pitcock
2013-05-20 05:08:59 +00:00
parent 9a4bea10f8
commit 691503dc3e
2 changed files with 0 additions and 10 deletions
-1
View File
@@ -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);
-9
View File
@@ -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';
}
}
}