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:
@@ -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);
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user