]> jfr.im git - irc/DALnet/bahamut.git/commit
Add support for eXtended Channel Flags (XCF). (#48)
authorKobi Shmueli <redacted>
Tue, 11 Sep 2018 16:07:12 +0000 (19:07 +0300)
committerEmilio A. Escobar <redacted>
Tue, 11 Sep 2018 16:07:12 +0000 (09:07 -0700)
commite2fef41a95227283283b7a1de4ca2d2d537e4e42
treea3b8080487ab61edd126a9937b1c80b5a28a9ad2
parent17aa7c4d83c4a44c05037a152ddfd8cec649bafc
Add support for eXtended Channel Flags (XCF). (#48)

Extended channel flags will be controlled by servics via the SVSXCF command.

Settings:
  JOIN_CONNECT_TIME - Number of seconds the user must be online to be able to join
  TALK_CONNECT_TIME - Number of seconds the user must be online to be able to talk on the channel
  TALK_JOIN_TIME    - Number of seconds the user must be on the channel to be able to tlak on the channel
  MAX_BANS          - Will let us increase the ban limit for specific channels

1/0 (on/off) options:
  NO_NOTICE         - no notices can be sent to the channel (on/off)
  NO_CTCP           - no ctcps can be sent to the channel (on/off)
  NO_PART_MSG       - no /part messages (on/off)
  NO_QUIT_MSG       - no /quit messages (on/off)
  EXEMPT_OPPED      - exempt opped users (on/off)
  EXEMPT_VOICED     - exempt voiced users (on/off)
  EXEMPT_IDENTD     - exempt users with identd (on/off)
  EXEMPT_REGISTERED - exempt users with umode +r (on/off)
  EXEMPT_INVITES    - exempt users who are +I'ed (on/off)

Special option:
  GREETMSG - A message that will be sent when a user joins the channel
  DEFAULT  - Reset the channel flags back to the default values

-Kobi.
include/msg.h
include/numeric.h
include/struct.h
src/channel.c
src/m_services.c
src/s_err.c
src/s_serv.c
src/s_user.c