+2000-04-29 Perry Lorier <isomer@coders.net>
+ * ircd/s_bsd.c: Sigh. :)
+ * ircd/m_mode.c: fix for modeless channels by poptix.
+
2000-04-29 Kevin L. Mitchell <klmitch@mit.edu>
* ircd/m_join.c: reimplement JOIN in terms of struct JoinBuf
JoinBuf abstraction
2000-04-29 Perry Lorier <isomer@coders.net>
- * include/s_bsd.c: Ok, so I thought I compiled and tested this...
+ * ircd/s_bsd.c: Ok, so I thought I compiled and tested this...
2000-04-29 Perry Lorier <isomer@coders.net>
- * include/s_bsd.c: Add debugging code to IPcheck
+ * ircd/s_bsd.c: Add debugging code to IPcheck
2000-04-28 Kevin L. Mitchell <klmitch@mit.edu>
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.115 2000-04-30 01:33:27 kev Exp $
+# $Id: ChangeLog,v 1.116 2000-04-30 06:37:52 isomer Exp $
#
# Insert new changes at beginning of the change list.
#
* point, just assume that connections cannot
* be accepted until some old is closed first.
*/
- if (-1 == (fd = accept(listener->fd, (struct sockaddr*) &addr, &addrlen)))
+ if (-1 == (fd = accept(listener->fd, (struct sockaddr*) &addr, &addrlen))) {
return;
+ }
/*
* check for connection limit
*/
clean_channelname(parv[1]);
- if (('#' != *parv[1] && '&' != *parv[1]) || !(chptr = FindChannel(parv[1])))
+ if (('#' != *parv[1] && '&' != *parv[1] && '+' != *parv[1]) ||
+ !(chptr = FindChannel(parv[1])))
return set_user_mode(cptr, sptr, parc, parv);
sptr->flags &= ~FLAGS_TS8;
if (IsLocalChannel(parv[1]))
return 0;
- if ('#' != *parv[1] || !(chptr = FindChannel(parv[1])))
+ if (('#' != *parv[1] && '+' != *parv[1])|| !(chptr = FindChannel(parv[1])))
return set_user_mode(cptr, sptr, parc, parv);
sptr->flags &= ~FLAGS_TS8;
/*
* try to find the channel
*/
- if ('#' == *parv[1] || '&' == *parv[1])
+ if ('#' == *parv[1] || '&' == *parv[1] || '+' == *parv[1])
chptr = FindChannel(parv[1]);
if (!chptr)
return set_user_mode(cptr, sptr, parc, parv);
/*
* try to find the channel
*/
- if ('#' == *parv[1] || '&' == *parv[1])
+ if ('#' == *parv[1] || '&' == *parv[1] || '+' == *parv[1])
chptr = FindChannel(parv[1]);
if (!chptr)
return set_user_mode(cptr, sptr, parc, parv);
/*
* try to find the channel
*/
- if ('#' == *parv[1] || '&' == *parv[1])
+ if ('#' == *parv[1] || '&' == *parv[1] || '+' == *parv[1])
chptr = FindChannel(parv[1]);
if (!chptr)
return set_user_mode(cptr, sptr, parc, parv);
if (!IPcheck_local_connect(addr.sin_addr, &next_target) && !listener->server) {
#ifdef IPCHECKDEBUG
char buff[512];
- snprintf(buff,512,"\n%s [%i connections active]\n",
- throttle_message,
- IPcheck_nr(addr.sin_addr));
+ snprintf(buff,512,"\n\rNOTICE * :IPCheck=%i connections active\n\r%s",
+ IPcheck_nr(cptr),
+ throttle_message);
buff[511]=0;
send(fd,buff,strlen(buff),0);
#else