1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-08 13:45:57 +00:00

Enhance "ServiceMask" to handle a list of masks

The "ServiceMask" variable in "Server" blocks now can handle more than
one mask using the new MatchCaseInsensitiveList() function.

This makes marking "service clients" much more specific, which is a
good thing per se, but which is the prerequisite for reasonably
blocking these nick names, too (see commit a6dd2e3 for details).
This commit is contained in:
Alexander Barton
2012-08-26 13:24:54 +02:00
parent ab1fcebeff
commit 360a254be0
3 changed files with 13 additions and 9 deletions

View File

@@ -297,15 +297,16 @@
# Connect to the remote server using TLS/SSL (Default: false)
;SSLConnect = yes
# Define a (case insensitive) mask matching nick names that should be
# treated as IRC services when introduced via this remote server.
# Define a (case insensitive) list of masks matching nick names that
# should be treated as IRC services when introduced via this remote
# server, separated by commas (",").
# REGULAR SERVERS DON'T NEED this parameter, so leave it empty
# (which is the default).
# When you are connecting IRC services which mask as a IRC server
# and which use "virtual users" to communicate with, for example
# "NickServ" and "ChanServ", you should set this parameter to
# something like "*Serv".
;ServiceMask = *Serv
# something like "*Serv" or "NickServ,ChanServ,XyzServ".
;ServiceMask = *Serv,Global
[Server]
# More [Server] sections, if you like ...