summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-06-23 09:45:15 -0400
committerAdam <Adam@anope.org>2014-06-23 09:45:15 -0400
commitfd9bb0ea7e3c8a39f1632c2ebbdc25d0fac192a0 (patch)
tree1d68e86065e0b012aee41533d4f9b289ee0707ac /data
parent148b26f687ce85dc01e852a2358b03d493757ada (diff)
parent9a947fa4359c667be58ebae4634d9ac0e53d5db4 (diff)
Merge branch '2.0' into 2.1
Conflicts: cmake/Anope.cmake cmake/FindGettext.cmake include/access.h include/messages.h include/modes.h include/modules.h include/users.h modules/CMakeLists.txt modules/commands/bs_bot.cpp modules/commands/cs_access.cpp modules/commands/cs_ban.cpp modules/commands/cs_clone.cpp modules/commands/cs_flags.cpp modules/commands/cs_info.cpp modules/commands/cs_list.cpp modules/commands/cs_log.cpp modules/commands/cs_mode.cpp modules/commands/cs_status.cpp modules/commands/cs_suspend.cpp modules/commands/cs_updown.cpp modules/commands/cs_xop.cpp modules/commands/ms_check.cpp modules/commands/ns_access.cpp modules/commands/ns_cert.cpp modules/commands/ns_group.cpp modules/commands/ns_register.cpp modules/commands/ns_set.cpp modules/commands/ns_suspend.cpp modules/commands/os_session.cpp modules/commands/os_svs.cpp modules/extra/m_ldap_authentication.cpp modules/extra/m_regex_pcre.cpp modules/extra/m_sql_authentication.cpp modules/extra/stats/m_chanstats.cpp modules/protocol/bahamut.cpp modules/protocol/hybrid.cpp modules/protocol/inspircd12.cpp modules/protocol/inspircd20.cpp modules/protocol/unreal.cpp modules/pseudoclients/chanserv.cpp modules/pseudoclients/chanserv/channel.cpp modules/pseudoclients/nickserv/nickserv.cpp modules/webcpanel/pages/chanserv/access.cpp src/access.cpp src/bots.cpp src/channels.cpp src/language.cpp src/modes.cpp src/modulemanager.cpp src/process.cpp src/users.cpp src/version.sh
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"; }