Is this something that has been discussed and deemed
necessary?

--- Chris Crowther <[EMAIL PROTECTED]>
wrote:
> CVSROOT    : /cvsroot/undernet-ircu
> Module     : ircu2.10
> Branch tags: u2_10_11_03
> Commit time: 2002-12-03 20:57:27 UTC
> 
> Modified files:
>   Tag: u2_10_11_03
>      include/handlers.h include/msg.h include/send.h
>      include/supported.h ircd/Makefile.in
> ircd/m_wallchops.c
>      ircd/parse.c ircd/send.c
> 
> Added files:
>   Tag: u2_10_11_03
>      ircd/m_wallvoices.c
> 
> Log message:
> 
> Author: hikari <[EMAIL PROTECTED]>
> Log message:
> 
>  Addition of a WALLVOICES command to go with
> WALLCHOPS.  A WALLVOICES will
> go to all +v and +o users on a channel.  Command
> format is the same as
> WALLCHOPS.
> 
>  /me places a little red teapot in the centre of the
> CVS repository.
> 
> ---------------------- diff included
> ----------------------
> Index: ircu2.10/include/handlers.h
> diff -u ircu2.10/include/handlers.h:1.12.2.5
> ircu2.10/include/handlers.h:1.12.2.5.8.1
> --- ircu2.10/include/handlers.h:1.12.2.5      Fri Jun  7
> 08:56:36 2002
> +++ ircu2.10/include/handlers.h       Tue Dec  3 12:56:58
> 2002
> @@ -17,7 +17,7 @@
>   * along with this program; if not, write to the
> Free Software
>   * Foundation, Inc., 675 Mass Ave, Cambridge, MA
> 02139, USA.
>   *
> - * $Id: handlers.h,v 1.12.2.5 2002/06/07 15:56:36
> vampire Exp $
> + * $Id: handlers.h,v 1.12.2.5.8.1 2002/12/03
> 20:56:58 shad0w Exp $
>   */
>  #ifndef INCLUDED_handlers_h
>  #define INCLUDED_handlers_h
> @@ -132,6 +132,7 @@
>  extern int m_userip(struct Client*, struct Client*,
> int, char*[]);
>  extern int m_version(struct Client*, struct
> Client*, int, char*[]);
>  extern int m_wallchops(struct Client*, struct
> Client*, int, char*[]);
> +extern int m_wallvoices(struct Client*, struct
> Client*, int, char*[]);
>  extern int m_who(struct Client*, struct Client*,
> int, char*[]);
>  extern int m_whois(struct Client*, struct Client*,
> int, char*[]);
>  extern int m_whowas(struct Client*, struct Client*,
> int, char*[]);
> @@ -215,6 +216,7 @@
>  extern int ms_uping(struct Client*, struct Client*,
> int, char*[]);
>  extern int ms_version(struct Client*, struct
> Client*, int, char*[]);
>  extern int ms_wallchops(struct Client*, struct
> Client*, int, char*[]);
> +extern int ms_wallvoices(struct Client*, struct
> Client*, int, char*[]);
>  extern int ms_wallops(struct Client*, struct
> Client*, int, char*[]);
>  extern int ms_wallusers(struct Client*, struct
> Client*, int, char*[]);
>  extern int ms_whois(struct Client*, struct Client*,
> int, char*[]);
> Index: ircu2.10/include/msg.h
> diff -u ircu2.10/include/msg.h:1.11.2.2
> ircu2.10/include/msg.h:1.11.2.2.8.1
> --- ircu2.10/include/msg.h:1.11.2.2   Fri Jun  7
> 08:56:36 2002
> +++ ircu2.10/include/msg.h    Tue Dec  3 12:57:00 2002
> @@ -17,7 +17,7 @@
>   * along with this program; if not, write to the
> Free Software
>   * Foundation, Inc., 675 Mass Ave, Cambridge, MA
> 02139, USA.
>   *
> - * $Id: msg.h,v 1.11.2.2 2002/06/07 15:56:36
> vampire Exp $
> + * $Id: msg.h,v 1.11.2.2.8.1 2002/12/03 20:57:00
> shad0w Exp $
>   */
>  #ifndef INCLUDED_msg_h
>  #define INCLUDED_msg_h
> @@ -197,6 +197,10 @@
>  #define MSG_WALLCHOPS           "WALLCHOPS"     /*
> WC */
>  #define TOK_WALLCHOPS           "WC"
>  #define CMD_WALLCHOPS                MSG_WALLCHOPS, TOK_WALLCHOPS
> +
> +#define MSG_WALLVOICES           "WALLVOICES"    
> /* WV */
> +#define TOK_WALLVOICES           "WV"
> +#define CMD_WALLVOICES           MSG_WALLVOICES,
> TOK_WALLVOICES
>  
>  #define MSG_CPRIVMSG            "CPRIVMSG"      /*
> CPRI */
>  #define TOK_CPRIVMSG            "CP"
> Index: ircu2.10/include/send.h
> diff -u ircu2.10/include/send.h:1.15.2.3
> ircu2.10/include/send.h:1.15.2.3.8.1
> --- ircu2.10/include/send.h:1.15.2.3  Sun May  5
> 12:18:37 2002
> +++ ircu2.10/include/send.h   Tue Dec  3 12:57:01 2002
> @@ -1,7 +1,7 @@
>  /*
>   * send.h
>   *
> - * $Id: send.h,v 1.15.2.3 2002/05/05 19:18:37 kev
> Exp $
> + * $Id: send.h,v 1.15.2.3.8.1 2002/12/03 20:57:01
> shad0w Exp $
>   */
>  #ifndef INCLUDED_send_h
>  #define INCLUDED_send_h
> @@ -72,6 +72,8 @@
>  #define SKIP_DEAF    0x01    /* skip users that are +d */
>  #define SKIP_BURST   0x02    /* skip users that are
> bursting */
>  #define SKIP_NONOPS  0x04    /* skip users that aren't
> chanops */
> +#define SKIP_NONVOICES  0x08    /* skip users that
> aren't voiced (includes
> +                                   chanops) */
>  
>  /* Send command to all users having a particular
> flag set */
>  extern void sendwallto_group_butone(struct Client
> *from, int type, 
> Index: ircu2.10/include/supported.h
> diff -u ircu2.10/include/supported.h:1.9.2.5
> ircu2.10/include/supported.h:1.9.2.5.4.1
> --- ircu2.10/include/supported.h:1.9.2.5      Sat Sep 14
> 13:44:32 2002
> +++ ircu2.10/include/supported.h      Tue Dec  3 12:57:02
> 2002
> @@ -16,7 +16,7 @@
>   * along with this program; if not, write to the
> Free Software
>   * Foundation, Inc., 675 Mass Ave, Cambridge, MA
> 02139, USA.
>   *
> - * $Id: supported.h,v 1.9.2.5 2002/09/14 20:44:32
> kev Exp $
> + * $Id: supported.h,v 1.9.2.5.4.1 2002/12/03
> 20:57:02 shad0w Exp $
>   *
>   * Description: This file has the featureset that
> ircu announces on connecting
>   *              a client.  It's in this .h because
> it's likely to be appended
> @@ -34,6 +34,7 @@
>  #define FEATURES1 \
>                  "WHOX"\
>                  " WALLCHOPS"\
> +             " WALLVOICES"\
>                  " USERIP"\
>                  " CPRIVMSG"\
>                  " CNOTICE"\
> Index: ircu2.10/ircd/Makefile.in
> diff -u ircu2.10/ircd/Makefile.in:1.37.2.9
> ircu2.10/ircd/Makefile.in:1.37.2.9.8.1
> --- ircu2.10/ircd/Makefile.in:1.37.2.9        Thu Aug 22
> 14:00:51 2002
> +++ ircu2.10/ircd/Makefile.in Tue Dec  3 12:57:04
> 2002
> @@ -166,6 +166,7 @@
>       m_userip.c \
>       m_version.c \
>       m_wallchops.c \
> +     m_wallvoices.c \
>       m_wallops.c \
>       m_wallusers.c \
>       m_who.c \
> @@ -957,6 +958,13 @@
>    ../include/s_user.h ../include/send.h
> ../include/supported.h \
>    ../include/channel.h ../include/version.h
>  m_wallchops.o: m_wallchops.c ../config.h
> ../include/channel.h \
> +  ../include/ircd_defs.h ../include/client.h
> ../include/dbuf.h \
> +  ../include/msgq.h ../include/ircd_events.h
> ../include/ircd_handler.h 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to