]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blobdiff - centralizemodecccheck.patch
remove empty patches
[irc/quakenet/snircd-patchqueue.git] / centralizemodecccheck.patch
index 272e0abca6496b39d03934f07a02ced84b5b745d..ab21377bdf6ce44a108e51efcfd1e3011ed7d924 100644 (file)
@@ -8,10 +8,10 @@ corrects that CTCP ACTION is only allowed for PRIVMSG, and not for NOTICE WALLCH
 
 mode +c blocks bold (2), colour (3), reverse (22), ansi escape (27), italic (29) (mIRC 7 - ctrl+i), underline (31)
 
-diff -r 718a91e2ff02 include/channel.h
---- a/include/channel.h
-+++ b/include/channel.h
-@@ -398,6 +398,7 @@
+diff -r 98874e322210 include/channel.h
+--- a/include/channel.h        Sat Jul 20 11:59:11 2013 +0100
++++ b/include/channel.h        Sat Jul 20 12:00:28 2013 +0100
+@@ -399,6 +399,7 @@
  extern struct Membership* find_channel_member(struct Client* cptr, struct Channel* chptr);
  extern int member_can_send_to_channel(struct Membership* member, int reveal);
  extern int client_can_send_to_channel(struct Client *cptr, struct Channel *chptr, int reveal);
@@ -19,9 +19,9 @@ diff -r 718a91e2ff02 include/channel.h
  
  extern void remove_user_from_channel(struct Client *sptr, struct Channel *chptr);
  extern void remove_user_from_all_channels(struct Client* cptr);
-diff -r 718a91e2ff02 include/ircd_chattr.h
---- a/include/ircd_chattr.h
-+++ b/include/ircd_chattr.h
+diff -r 98874e322210 include/ircd_chattr.h
+--- a/include/ircd_chattr.h    Sat Jul 20 11:59:11 2013 +0100
++++ b/include/ircd_chattr.h    Sat Jul 20 12:00:28 2013 +0100
 @@ -59,6 +59,8 @@
  #define NTL_KTIME  0x20000  /**< Valid character for a k:line time   */
  #define NTL_CHPFX  0x40000  /**< channel prefix char # & +           */
@@ -50,9 +50,9 @@ diff -r 718a91e2ff02 include/ircd_chattr.h
  
 -
  #endif /* INCLUDED_ircd_chattr_h */
-diff -r 718a91e2ff02 ircd/channel.c
---- a/ircd/channel.c
-+++ b/ircd/channel.c
+diff -r 98874e322210 ircd/channel.c
+--- a/ircd/channel.c   Sat Jul 20 11:59:11 2013 +0100
++++ b/ircd/channel.c   Sat Jul 20 12:00:28 2013 +0100
 @@ -778,6 +778,75 @@
    return member_can_send_to_channel(member, reveal);
  }
@@ -129,9 +129,9 @@ diff -r 718a91e2ff02 ircd/channel.c
  /** Returns the name of a channel that prevents the user from changing nick.
   * if a member and not (opped or voiced) and (banned or moderated), return
   * the name of the first channel banned on.
-diff -r 718a91e2ff02 ircd/ircd_relay.c
---- a/ircd/ircd_relay.c
-+++ b/ircd/ircd_relay.c
+diff -r 98874e322210 ircd/ircd_relay.c
+--- a/ircd/ircd_relay.c        Sat Jul 20 11:59:11 2013 +0100
++++ b/ircd/ircd_relay.c        Sat Jul 20 12:00:28 2013 +0100
 @@ -87,7 +87,6 @@
  void relay_channel_message(struct Client* sptr, const char* name, const char* text, const int targetc)
  {
@@ -153,7 +153,7 @@ diff -r 718a91e2ff02 ircd/ircd_relay.c
 -
 -  if ((chptr->mode.mode & MODE_NOCTCP) && ircd_strncmp(text,"\001ACTION ",8))
 -    for (ch=text;*ch;)
--      if (*ch++==1) { 
+-      if (*ch++==1) {
 -        send_reply(sptr, ERR_CANNOTSENDTOCHAN, chptr->chname);
 -        return;
 -      }
@@ -190,9 +190,9 @@ diff -r 718a91e2ff02 ircd/ircd_relay.c
  
    if ((chptr->mode.mode & MODE_NOPRIVMSGS) &&
        check_target_limit(sptr, chptr, chptr->chname, 0))
-diff -r 718a91e2ff02 ircd/m_wallchops.c
---- a/ircd/m_wallchops.c
-+++ b/ircd/m_wallchops.c
+diff -r 98874e322210 ircd/m_wallchops.c
+--- a/ircd/m_wallchops.c       Sat Jul 20 11:59:11 2013 +0100
++++ b/ircd/m_wallchops.c       Sat Jul 20 12:00:28 2013 +0100
 @@ -103,7 +103,6 @@
  {
    struct Channel *chptr;
@@ -225,9 +225,9 @@ diff -r 718a91e2ff02 ircd/m_wallchops.c
  
        if ((chptr->mode.mode & MODE_NOPRIVMSGS) &&
            check_target_limit(sptr, chptr, chptr->chname, 0))
-diff -r 718a91e2ff02 ircd/m_wallvoices.c
---- a/ircd/m_wallvoices.c
-+++ b/ircd/m_wallvoices.c
+diff -r 98874e322210 ircd/m_wallvoices.c
+--- a/ircd/m_wallvoices.c      Sat Jul 20 11:59:11 2013 +0100
++++ b/ircd/m_wallvoices.c      Sat Jul 20 12:00:28 2013 +0100
 @@ -102,7 +102,6 @@
  {
    struct Channel *chptr;
@@ -260,9 +260,9 @@ diff -r 718a91e2ff02 ircd/m_wallvoices.c
  
        if ((chptr->mode.mode & MODE_NOPRIVMSGS) &&
            check_target_limit(sptr, chptr, chptr->chname, 0))
-diff -r 718a91e2ff02 ircd/table_gen.c
---- a/ircd/table_gen.c
-+++ b/ircd/table_gen.c
+diff -r 98874e322210 ircd/table_gen.c
+--- a/ircd/table_gen.c Sat Jul 20 11:59:11 2013 +0100
++++ b/ircd/table_gen.c Sat Jul 20 12:00:28 2013 +0100
 @@ -87,6 +87,12 @@
  
    markString(NTL_SPACE, "\011\012\013\014\015\040");