summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/botserv.example.conf1
-rw-r--r--data/chanserv.example.conf23
-rw-r--r--data/example.chk3
-rw-r--r--data/modules.example.conf4
-rw-r--r--data/nickserv.example.conf9
5 files changed, 31 insertions, 9 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf
index c341eceb3..6cb44afc3 100644
--- a/data/botserv.example.conf
+++ b/data/botserv.example.conf
@@ -386,6 +386,7 @@ fantasy { name = "LEVELS"; command = "chanserv/levels"; }
fantasy { name = "LIST"; command = "chanserv/list"; prepend_channel = false; }
fantasy { name = "LOG"; command = "chanserv/log"; }
fantasy { name = "MODE"; command = "chanserv/mode"; }
+fantasy { name = "MUTE"; command = "chanserv/ban"; kick = no; mode = "QUIET"; }
fantasy { name = "OP"; command = "chanserv/modes"; }
fantasy { name = "OWNER"; command = "chanserv/modes"; }
fantasy { name = "PROTECT"; command = "chanserv/modes"; }
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index dba4466eb..86b86291b 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -799,25 +799,25 @@ privilege
command_group
{
name = "chanserv/access"
- description = "Used to manage the list of privileged users"
+ description = _("Used to manage the list of privileged users")
}
command_group
{
name = "chanserv/status"
- description = "Used to modify the channel status of you or other users"
+ description = _("Used to modify the channel status of you or other users")
}
command_group
{
name = "chanserv/management"
- description = "Used to manage channels"
+ description = _("Used to manage channels")
}
command_group
{
name = "chanserv/admin"
- description = "Services Operator commands"
+ description = _("Services Operator commands")
}
/* Give it a help command. */
@@ -868,6 +868,12 @@ command { service = "ChanServ"; name = "AKICK"; command = "chanserv/akick"; grou
*
* Provides the command chanserv/ban.
*
+ * The configuration option 'kick' may be set in a command block for this command to control
+ * whether or not users will be kicked from the channel once banned. The default is 'yes'.
+ *
+ * The configuration option 'mode' may be set to control which mode is set, such as BAN or QUIET.
+ * The default is BAN.
+ *
* Used for banning users from channels.
*/
module { name = "cs_ban" }
@@ -929,7 +935,7 @@ command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg"
*
* The "LIST" subcommand of chanserv/flags will show every access entry on the channel, including access
* entries not added by cs_flags. The "Flags" of these entries will be the flags representation of the
- * privilege set granted by the access entry.
+ * privilege set granted by the access entry.
*/
module { name = "cs_flags" }
command { service = "ChanServ"; name = "FLAGS"; command = "chanserv/flags"; group = "chanserv/access"; }
@@ -1209,6 +1215,13 @@ module
* If not set, the default is never.
*/
expire = 90d
+
+ /*
+ * Settings to show to non-opers in ChanServ's INFO output.
+ * Comment to completely disable showing any information about
+ * suspended channels to non-opers.
+ */
+ show = "suspended, by, reason, on, expires"
}
command { service = "ChanServ"; name = "SUSPEND"; command = "chanserv/suspend"; permission = "chanserv/suspend"; group = "chanserv/admin"; }
command { service = "ChanServ"; name = "UNSUSPEND"; command = "chanserv/unsuspend"; permission = "chanserv/suspend"; group = "chanserv/admin"; }
diff --git a/data/example.chk b/data/example.chk
index fbbf4847e..119b1ca99 100644
--- a/data/example.chk
+++ b/data/example.chk
@@ -37,7 +37,8 @@ cd $ANOPATH
if [ -f "$ANODATA/$ANOPIDF" ]
then
ANOPID=`cat "$ANODATA/$ANOPIDF"`
- if [ `ps auwx | grep $ANOPROG | grep $ANOPID | grep -v -c grep` = 1 ]
+ kill -0 $ANOPID 2>/dev/null
+ if [ $? -eq 0 ]
then
exit
fi
diff --git a/data/modules.example.conf b/data/modules.example.conf
index b7644537d..caeddb27d 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -518,7 +518,7 @@ module { name = "help" }
name = "m_ssl_gnutls"
/*
- * An optional certificate and key for m_gnutls to give to the uplink.
+ * An optional certificate and key for m_ssl_gnutls to give to the uplink.
*
* You can generate your own certificate and key pair by using:
*
@@ -557,7 +557,7 @@ module { name = "help" }
name = "m_ssl_openssl"
/*
- * An optional certificate and key for m_openssl to give to the uplink.
+ * An optional certificate and key for m_ssl_openssl to give to the uplink.
*
* You can generate your own certificate and key pair by using:
*
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index 87804e0fa..e8d02bed6 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -231,7 +231,7 @@ module
command_group
{
name = "nickserv/admin"
- description = "Services Operator commands"
+ description = _("Services Operator commands")
}
/* Give it a help command. */
@@ -616,6 +616,13 @@ module
* This directive is optional. If not set, the default is never.
*/
#suspendexpire = 90d
+
+ /*
+ * Settings to show to non-opers in NickServ's INFO output.
+ * Comment to completely disable showing any information about
+ * suspended nicknames to non-opers.
+ */
+ show = "suspended, by, reason, on, expires"
}
command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }