Skip to content

Commit

Permalink
Support cmode +M in charybdis
Browse files Browse the repository at this point in the history
Closes #471
  • Loading branch information
aaronmdjones committed Jan 15, 2016
1 parent 6731f60 commit e284cca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions include/protocol/charybdis.h
Expand Up @@ -27,4 +27,6 @@
#define CMODE_ADMINONLY 0x01000000 /* charybdis extensions/chm_adminonly.c +A */
#define CMODE_NONOTICE 0x02000000 /* charybdis extensions/chm_nonotice.c +T */

#define CMODE_IMMUNE 0x04000000 /* charybdis +M */

#endif
5 changes: 2 additions & 3 deletions include/protocol/ircd-seven.h
Expand Up @@ -2,13 +2,12 @@
* Copyright (C) 2005 William Pitcock, et al.
* Rights to this code are as documented in doc/LICENSE.
*
* This code contains the channel mode definitions for ircd-seven.
* This code contains the channel mode definitions for ircd-seven
* (that are not in Charybdis).
*
*/

#ifndef IRCD_SEVEN_H
#define IRCD_SEVEN_H

#define CMODE_IMMUNE 0x00200000 /* seven +M */

#endif
1 change: 1 addition & 0 deletions modules/protocol/charybdis.c
Expand Up @@ -65,6 +65,7 @@ struct cmode_ charybdis_mode_list[] = {
{ 'c', CMODE_NOCOLOR },
{ 'C', CMODE_NOCTCP },
{ 'T', CMODE_NONOTICE },
{ 'M', CMODE_IMMUNE },

{ '\0', 0 }
};
Expand Down

0 comments on commit e284cca

Please sign in to comment.