Commit for Will5404

This commit is contained in:
fishwaldo 2002-09-03 04:57:46 +00:00
parent 31022af712
commit fade11fb8f
2 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
* *
* $Id: channel_mode.h,v 1.5 2002/08/16 14:22:06 fishwaldo Exp $ * $Id: channel_mode.h,v 1.6 2002/09/03 04:57:46 fishwaldo Exp $
*/ */
@ -98,6 +98,7 @@ extern void set_channel_mode_flags( char flags_ptr[4][2],
#define MODE_INVEX 0x2000 #define MODE_INVEX 0x2000
#define MODE_HIDEOPS 0x4000 #define MODE_HIDEOPS 0x4000
#define MODE_OPERSONLY 0x8000 #define MODE_OPERSONLY 0x8000
#define MODE_REGCHAN 0x10000
/* /*
* mode flags which take another parameter (With PARAmeterS) * mode flags which take another parameter (With PARAmeterS)

View file

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
* *
* $Id: s_user.c,v 1.6 2002/09/02 09:17:08 fishwaldo Exp $ * $Id: s_user.c,v 1.7 2002/09/03 04:57:46 fishwaldo Exp $
*/ */
#include "stdinc.h" #include "stdinc.h"
@ -1133,6 +1133,7 @@ user_mode(struct Client *client_p, struct Client *source_p, int parc, char *parv
else else
target_p->umodes |= FLAGS_REGNICK; target_p->umodes |= FLAGS_REGNICK;
} }
if (!(setflags & FLAGS_INVISIBLE) && IsInvisible(target_p)) if (!(setflags & FLAGS_INVISIBLE) && IsInvisible(target_p))
++Count.invisi; ++Count.invisi;
if ((setflags & FLAGS_INVISIBLE) && !IsInvisible(target_p)) if ((setflags & FLAGS_INVISIBLE) && !IsInvisible(target_p))