invite -Z users into +S channels

This commit is contained in:
fishwaldo 2002-11-21 13:23:37 +00:00
parent c54e7b3ad5
commit 13d98daab5
3 changed files with 5 additions and 10 deletions

View file

@ -9,6 +9,7 @@ Symbols are:
(HP) - Hybrid Team Halloween Special :) (No suprises this time!) (RC5 Merge)
(F) - Initial Support for SSL connections started (and now it works!)
(F) - Added Z umode to identify SSL clients, and added whois reply for SSL clients
(F) - Can invite non-Z clients into +S channels
* NeoIRCd Version 0.9.5 - 12th Oct, 2002 - Fish
(S) - Fixed up event.c for a possible serious bug reported by Dianora from hybrid team

3
TODO
View file

@ -1,9 +1,8 @@
$Id: TODO,v 1.13 2002/11/20 14:13:56 fishwaldo Exp $
$Id: TODO,v 1.14 2002/11/21 13:23:37 fishwaldo Exp $
/stats g should report when a G line will expire
SSL client support modes and channel related stuff
Can't invite non-SSL clients into +S channel
/accept by hostmask
rip out servlink and make ssl/ziplinks built in...
*Umode +a (Services Root) and +N (Network Admin)

View file

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* $Id: m_invite.c,v 1.6 2002/09/13 06:50:06 fishwaldo Exp $
* $Id: m_invite.c,v 1.7 2002/11/21 13:23:37 fishwaldo Exp $
*/
#include "stdinc.h"
@ -61,7 +61,7 @@ _moddeinit(void)
mod_del_cmd(&invite_msgtab);
}
const char *_version = "$Revision: 1.6 $";
const char *_version = "$Revision: 1.7 $";
#endif
/*
@ -166,10 +166,6 @@ m_invite(struct Client *client_p,
return;
}
}
else
if (!(vchan->mode.mode & MODE_OPERSONLY))
/* Don't save invite even if from an op otherwise... */
chop = 0;
if (MyConnect(source_p))
{
@ -194,8 +190,7 @@ m_invite(struct Client *client_p,
if (MyConnect(target_p))
{
if (chop)
add_invite(vchan, target_p);
add_invite(vchan, target_p);
sendto_one(target_p, ":%s!%s@%s INVITE %s :%s", source_p->name,
source_p->username, source_p->vhost, target_p->name,
chptr->chname);