mirror of
https://github.com/osmarks/ngircd.git
synced 2025-09-12 07:16:02 +00:00
Implement user mode 'C': require "same channel" to send message
If the target user of a PRIVMSG or NOTICE command has the user mode 'C' set, it is required that both sender and receiver are on the same channel. This prevents private flooding by completely unknown clients.
This commit is contained in:
@@ -23,6 +23,7 @@ channels he is using at the moment.
|
||||
|
||||
a 0.3.0 User is away.
|
||||
c 17 IRC operator wants to receive connect/disconnect NOTICEs.
|
||||
C 19 Only users that share a channel are allowed to send messages.
|
||||
i 0.0.1 User is "invisible".
|
||||
o 0.0.1 User is IRC operator.
|
||||
r 0.0.1 User is restricted.
|
||||
|
Reference in New Issue
Block a user