]> arthur.barton.de Git - ngircd.git/commitdiff
Merge branch 'umode-B'
authorAlexander Barton <alex@barton.de>
Mon, 27 Aug 2012 21:27:30 +0000 (23:27 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 27 Aug 2012 21:27:30 +0000 (23:27 +0200)
This patch series allows ngIRCd to support the user mode "B" ("Bot flasg"):
it is settable and unsettable by every (non-restricted) client.
According to DNS777, this is how Unreal and InspIRCd do behave, so do we :-)

By Alexander Barton (1) and DNS777 (1)

* umode-B:
  Add new user mode "B" to doc/Modes.txt
  Implement an Unreal-like user mode "B" ("Bot mode")

1  2 
doc/Modes.txt
src/ngircd/defines.h
src/ngircd/irc-mode.c
src/ngircd/messages.h

diff --cc doc/Modes.txt
Simple merge
index 310e0699857b2327cee44b440a44061386133805,27eecf1d169f10a2aa124d7d2363e6bf54601aea..82837599aadbb6485f0f044b447739d7b5f922fa
  #endif
  
  /** Supported user modes. */
- #define USERMODES "acCiorRswx"
+ #define USERMODES "aBcCiorRswx"
  
  /** Supported channel modes. */
 -#define CHANMODES "beiIklmnoOPrRstvz"
 +#define CHANMODES "beiIklmMnoOPrRstvz"
  
  /** Away message for users connected to linked servers. */
  #define DEFAULT_AWAY_MSG "Away"
Simple merge
Simple merge