1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 21:43:12 +02:00
This commit is contained in:
stskeeps
2000-08-25 16:18:11 +00:00
parent 90f0809b44
commit c28527ade3
3 changed files with 10 additions and 2 deletions
+4
View File
@@ -575,3 +575,7 @@
[ this is 4.0 ]
- Fixed /userhost showing "unknown" as username for a lot of people
- Fixed ./update error
- Fixed a NO_FDLIST define problem in send.c and channel.c
- Added define PROPER_COREDUMP, will not launch s_segv when done and make
proper coredumps
+4 -1
View File
@@ -123,6 +123,8 @@ int noisy_htm = 1;
TS check_fdlists();
#endif
void server_reboot(char *);
void restart PROTO((char *));
static void open_debugfile(), setup_signals();
@@ -1510,10 +1512,11 @@ static void setup_signals()
(void)sigaddset(&act.sa_mask, SIGTERM);
(void)sigaction(SIGTERM, &act, NULL);
/* handling of SIGSEGV as well -sts */
#ifndef PROPER_COREDUMP
act.sa_handler = s_segv;
(void)sigaddset(&act.sa_mask, SIGSEGV);
(void)sigaction(SIGSEGV, &act, NULL);
#endif
#else
# ifndef HAVE_RELIABLE_SIGNALS
(void)signal(SIGPIPE, dummy);
+2 -1
View File
@@ -4429,9 +4429,10 @@ int m_umode(cptr, sptr, parc, parv)
if ((setflags & UMODE_OPER) && !IsOper(sptr))
{
IRCstats.operators--;
#ifndef NO_FDLIST
if (MyConnect(sptr))
delfrom_fdlist(sptr->fd, &oper_fdlist);
#endif
}
if (!(setflags & UMODE_INVISIBLE) && IsInvisible(sptr))
{