mirror of
https://github.com/anope/anope.git
synced 2026-06-12 17:24:49 +02:00
Update more IRCServices references to reflect the current project.
- If referring to the specific piece of software use "Anope". - If referring to services in general use "services".
This commit is contained in:
@@ -7,11 +7,11 @@
|
|||||||
| |
|
| |
|
||||||
|_| IRC Services
|
|_| IRC Services
|
||||||
CURVER
|
CURVER
|
||||||
This program will help you to compile your Services, and ask you
|
This program will help you to compile your services, and ask you
|
||||||
questions regarding the compile-time settings of it during the
|
questions regarding the compile-time settings of it during the
|
||||||
process. For more options type SOURCE_DIR/Config --help
|
process. For more options type SOURCE_DIR/Config --help
|
||||||
|
|
||||||
Anope is a set of Services for IRC networks that allows users to
|
Anope is a set of services for IRC networks that allows users to
|
||||||
manage their nicks and channels in a secure and efficient way,
|
manage their nicks and channels in a secure and efficient way,
|
||||||
and administrators to manage their network with powerful tools.
|
and administrators to manage their network with powerful tools.
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Configuration script for Services.
|
# Configuration script for Anope.
|
||||||
#
|
#
|
||||||
# Anope (c) 2003-2021 Anope Team
|
# Anope (c) 2003-2021 Anope Team
|
||||||
# Contact us at team@anope.org
|
# Contact us at team@anope.org
|
||||||
@@ -193,7 +193,7 @@ else
|
|||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Beginning Services configuration."
|
echo "Beginning Anope configuration."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
@@ -232,7 +232,7 @@ while [ $ok -eq 0 ] ; do
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif exists "$INPUT/include/services.h" ; then
|
elif exists "$INPUT/include/services.h" ; then
|
||||||
echo "You cannot use the Services source directory as a target directory."
|
echo "You cannot use the Anope source directory as a target directory."
|
||||||
else
|
else
|
||||||
ok=1
|
ok=1
|
||||||
fi
|
fi
|
||||||
@@ -244,11 +244,11 @@ echo ""
|
|||||||
|
|
||||||
OLD_RUNGROUP="$RUNGROUP"
|
OLD_RUNGROUP="$RUNGROUP"
|
||||||
if [ "$RUNGROUP" ] ; then
|
if [ "$RUNGROUP" ] ; then
|
||||||
echo "Which group should all Services data files be owned by? (If Services"
|
echo "Which group should all Anope data files be owned by? (If Anope"
|
||||||
echo "should not force files to be owned by a particular group, type \"none\""
|
echo "should not force files to be owned by a particular group, type \"none\""
|
||||||
echo "(without the quotes) and press Return.)"
|
echo "(without the quotes) and press Return.)"
|
||||||
else
|
else
|
||||||
echo "Which group should all Services data files be owned by? (If Services"
|
echo "Which group should all Anope data files be owned by? (If Anope"
|
||||||
echo "should not force files to be owned by a particular group, just press"
|
echo "should not force files to be owned by a particular group, just press"
|
||||||
echo "Return.)"
|
echo "Return.)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
## About
|
## About
|
||||||
|
|
||||||
Anope is an open source set of IRC Services. It is highly modular, with a vast number of configurable parameters, and is the most used IRC services package. There are also many modules on the [modsite](https://modules.anope.org) to add additional features. It runs on Linux, BSD, and Windows, and supports many modern IRCds, including InspIRCd, UnrealIRCd, and ircd-hybrid. For more details, credits, command line options, and contact information see [docs/README](https://github.com/anope/anope/blob/2.0/docs/README).
|
Anope is an open source set of IRC services. It is highly modular, with a vast number of configurable parameters, and is the most used IRC services package. There are also many modules on the [modsite](https://modules.anope.org) to add additional features. It runs on Linux, BSD, and Windows, and supports many modern IRCds, including InspIRCd, UnrealIRCd, and ircd-hybrid. For more details, credits, command line options, and contact information see [docs/README](https://github.com/anope/anope/blob/2.0/docs/README).
|
||||||
|
|
||||||
* [Website](https://anope.org)
|
* [Website](https://anope.org)
|
||||||
* [GitHub](https://github.com/anope)
|
* [GitHub](https://github.com/anope)
|
||||||
|
|||||||
+13
-13
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Example configuration file for Anope. After making the appropriate
|
* Example configuration file for Anope. After making the appropriate
|
||||||
* changes to this file, place it in the Anope conf directory (as
|
* changes to this file, place it in the Anope conf directory (as
|
||||||
* specified in the "configure" script, default /home/username/anope/conf)
|
* specified in the "Config" script, default /home/username/anope/conf)
|
||||||
* under the name "anope.conf".
|
* under the name "anope.conf".
|
||||||
*
|
*
|
||||||
* The format of this file is fairly simple: three types of comments are supported:
|
* The format of this file is fairly simple: three types of comments are supported:
|
||||||
@@ -120,7 +120,7 @@ define
|
|||||||
* This section can be included multiple times, and Anope will attempt to
|
* This section can be included multiple times, and Anope will attempt to
|
||||||
* connect to each server until it finally connects.
|
* connect to each server until it finally connects.
|
||||||
*
|
*
|
||||||
* Each uplink IRCd should have a corresponding configuration to allow services
|
* Each uplink IRCd should have a corresponding configuration to allow Anope
|
||||||
* to link to it.
|
* to link to it.
|
||||||
*
|
*
|
||||||
* An example configuration for InspIRCd that is compatible with the below uplink
|
* An example configuration for InspIRCd that is compatible with the below uplink
|
||||||
@@ -202,7 +202,7 @@ uplink
|
|||||||
serverinfo
|
serverinfo
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The hostname that services will be seen as, it must have no conflicts with any
|
* The hostname that Anope will be seen as, it must have no conflicts with any
|
||||||
* other server names on the rest of your IRC network. Note that it does not have
|
* other server names on the rest of your IRC network. Note that it does not have
|
||||||
* to be an existing hostname, just one that isn't on your network already.
|
* to be an existing hostname, just one that isn't on your network already.
|
||||||
*/
|
*/
|
||||||
@@ -215,8 +215,8 @@ serverinfo
|
|||||||
description = "Anope IRC Services"
|
description = "Anope IRC Services"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The local address that services will bind to before connecting to the remote
|
* The local address that Anope will bind to before connecting to the remote
|
||||||
* server. This may be useful for multihomed hosts. If omitted, services will let
|
* server. This may be useful for multihomed hosts. If omitted, Anope will let
|
||||||
* the Operating System choose the local address. This directive is optional.
|
* the Operating System choose the local address. This directive is optional.
|
||||||
*
|
*
|
||||||
* If you don't know what this means or don't need to use it, just leave this
|
* If you don't know what this means or don't need to use it, just leave this
|
||||||
@@ -297,19 +297,19 @@ networkinfo
|
|||||||
/*
|
/*
|
||||||
* Set this to the maximum allowed nick length on your network.
|
* Set this to the maximum allowed nick length on your network.
|
||||||
* Be sure to set this correctly, as setting this wrong can result in
|
* Be sure to set this correctly, as setting this wrong can result in
|
||||||
* services being disconnected from the network.
|
* Anope being disconnected from the network.
|
||||||
*/
|
*/
|
||||||
nicklen = 31
|
nicklen = 31
|
||||||
|
|
||||||
/* Set this to the maximum allowed ident length on your network.
|
/* Set this to the maximum allowed ident length on your network.
|
||||||
* Be sure to set this correctly, as setting this wrong can result in
|
* Be sure to set this correctly, as setting this wrong can result in
|
||||||
* services being disconnected from the network.
|
* Anope being disconnected from the network.
|
||||||
*/
|
*/
|
||||||
userlen = 10
|
userlen = 10
|
||||||
|
|
||||||
/* Set this to the maximum allowed hostname length on your network.
|
/* Set this to the maximum allowed hostname length on your network.
|
||||||
* Be sure to set this correctly, as setting this wrong can result in
|
* Be sure to set this correctly, as setting this wrong can result in
|
||||||
* services being disconnected from the network.
|
* Anope being disconnected from the network.
|
||||||
*/
|
*/
|
||||||
hostlen = 64
|
hostlen = 64
|
||||||
|
|
||||||
@@ -325,7 +325,7 @@ networkinfo
|
|||||||
/*
|
/*
|
||||||
* Characters allowed in nicknames. This always includes the characters described
|
* Characters allowed in nicknames. This always includes the characters described
|
||||||
* in RFC1459, and so does not need to be set for normal behavior. Changing this to
|
* in RFC1459, and so does not need to be set for normal behavior. Changing this to
|
||||||
* include characters your IRCd doesn't support will cause your IRCd and/or services
|
* include characters your IRCd doesn't support will cause your IRCd and/or Anope
|
||||||
* to break. Multibyte characters are not supported, nor are escape sequences.
|
* to break. Multibyte characters are not supported, nor are escape sequences.
|
||||||
*
|
*
|
||||||
* It is recommended you DON'T change this.
|
* It is recommended you DON'T change this.
|
||||||
@@ -337,7 +337,7 @@ networkinfo
|
|||||||
* to services, such as BotServ bot hostnames and user vhosts. Changing this is not
|
* to services, such as BotServ bot hostnames and user vhosts. Changing this is not
|
||||||
* recommended unless you know for sure your IRCd supports whatever characters you are
|
* recommended unless you know for sure your IRCd supports whatever characters you are
|
||||||
* wanting to use. Telling services to set a vHost containing characters your IRCd
|
* wanting to use. Telling services to set a vHost containing characters your IRCd
|
||||||
* disallows could potentially break the IRCd and/or services.
|
* disallows could potentially break the IRCd and/or Anope.
|
||||||
*
|
*
|
||||||
* It is recommended you DON'T change this.
|
* It is recommended you DON'T change this.
|
||||||
*/
|
*/
|
||||||
@@ -377,7 +377,7 @@ options
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* The case mapping used by services. This must be set to a valid locale name
|
* The case mapping used by services. This must be set to a valid locale name
|
||||||
* installed on your machine. Services use this case map to compare, with
|
* installed on your machine. Anope uses this case map to compare, with
|
||||||
* case insensitivity, things such as nick names, channel names, etc.
|
* case insensitivity, things such as nick names, channel names, etc.
|
||||||
*
|
*
|
||||||
* We provide two special casemaps shipped with Anope, ascii and rfc1459.
|
* We provide two special casemaps shipped with Anope, ascii and rfc1459.
|
||||||
@@ -484,14 +484,14 @@ options
|
|||||||
#usestrictprivmsg = yes
|
#usestrictprivmsg = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, services will only show /stats o to IRC Operators. This directive
|
* If set, Anope will only show /stats o to IRC Operators. This directive
|
||||||
* is optional.
|
* is optional.
|
||||||
*/
|
*/
|
||||||
#hidestatso = yes
|
#hidestatso = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A space-separated list of U-lined servers on your network, it is assumed that
|
* A space-separated list of U-lined servers on your network, it is assumed that
|
||||||
* the servers in this list are allowed to set channel modes and services will
|
* the servers in this list are allowed to set channel modes and Anope will
|
||||||
* not attempt to reverse their mode changes.
|
* not attempt to reverse their mode changes.
|
||||||
*
|
*
|
||||||
* WARNING: Do NOT put your normal IRC user servers in this directive.
|
* WARNING: Do NOT put your normal IRC user servers in this directive.
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ module
|
|||||||
client = "Global"
|
client = "Global"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is the global message that will be sent when Services are being
|
* This is the global message that will be sent when Anope is being
|
||||||
* shutdown/restarted.
|
* shutdown/restarted.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -74,7 +74,7 @@ module
|
|||||||
#globaloncycledown = "Services are restarting, they will be back shortly - please be good while they're gone"
|
#globaloncycledown = "Services are restarting, they will be back shortly - please be good while they're gone"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is the global message that will be sent when Services (re)join the
|
* This is the global message that will be sent when Anope (re)joins the
|
||||||
* network.
|
* network.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -82,7 +82,7 @@ module
|
|||||||
#globaloncycleup = "Services are now back online - have a nice day"
|
#globaloncycleup = "Services are now back online - have a nice day"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will hide the IRC Operator's nick in a global
|
* If set, Anope will hide the IRC Operator's nick in a global
|
||||||
* message/notice.
|
* message/notice.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
|
|||||||
@@ -161,13 +161,13 @@ module
|
|||||||
name = "hs_request"
|
name = "hs_request"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will send a memo to the user requesting a vHost when it's been
|
* If set, Anope will send a memo to the user requesting a vHost when it's been
|
||||||
* approved or rejected.
|
* approved or rejected.
|
||||||
*/
|
*/
|
||||||
#memouser = yes
|
#memouser = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will send a memo to all Services staff when a new vHost is requested.
|
* If set, Anope will send a memo to all services staff when a new vHost is requested.
|
||||||
*/
|
*/
|
||||||
#memooper = yes
|
#memooper = yes
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* The following blocks are used to load all non-core modules, including 3rd-party modules.
|
* The following blocks are used to load all non-core modules, including 3rd-party modules.
|
||||||
* Modules can be prevented from loading by commenting out the line, other modules can be added by
|
* Modules can be prevented from loading by commenting out the line, other modules can be added by
|
||||||
* adding a module block. These modules will be loaded prior to Services connecting to your network.
|
* adding a module block. These modules will be loaded prior to Anope connecting to your network.
|
||||||
*
|
*
|
||||||
* Note that some of these modules are labeled EXTRA, and must be enabled prior to compiling by
|
* Note that some of these modules are labeled EXTRA, and must be enabled prior to compiling by
|
||||||
* running the 'extras' script on Linux and UNIX.
|
* running the 'extras' script on Linux and UNIX.
|
||||||
@@ -91,14 +91,14 @@ module { name = "help" }
|
|||||||
name = "m_dnsbl"
|
name = "m_dnsbl"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will check clients against the DNSBLs when services connect to its uplink.
|
* If set, Anope will check clients against the DNSBLs when services connect to its uplink.
|
||||||
* This is not recommended, and on large networks will open a very large amount of DNS queries.
|
* This is not recommended, and on large networks will open a very large amount of DNS queries.
|
||||||
* Whilst services are not drastically affected by this, your nameserver/DNSBL might care.
|
* Whilst services are not drastically affected by this, your nameserver/DNSBL might care.
|
||||||
*/
|
*/
|
||||||
check_on_connect = no
|
check_on_connect = no
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will check clients when coming back from a netsplit. This can cause a large number
|
* If set, Anope will check clients when coming back from a netsplit. This can cause a large number
|
||||||
* of DNS queries open at once. Whilst services are not drastically affected by this, your nameserver/DNSBL
|
* of DNS queries open at once. Whilst services are not drastically affected by this, your nameserver/DNSBL
|
||||||
* might care.
|
* might care.
|
||||||
*/
|
*/
|
||||||
@@ -319,7 +319,7 @@ module { name = "help" }
|
|||||||
* This module dynamically ties users to Anope opertypes when they identify
|
* This module dynamically ties users to Anope opertypes when they identify
|
||||||
* via LDAP group membership. Requires m_ldap.
|
* via LDAP group membership. Requires m_ldap.
|
||||||
*
|
*
|
||||||
* Note that this doesn't give the user privileges on the IRCd, only in Services.
|
* Note that this doesn't give the user privileges on the IRCd, only in Anope.
|
||||||
*/
|
*/
|
||||||
#module
|
#module
|
||||||
{
|
{
|
||||||
@@ -537,8 +537,8 @@ module { name = "help" }
|
|||||||
/*
|
/*
|
||||||
* m_sasl
|
* m_sasl
|
||||||
*
|
*
|
||||||
* Some IRCds allow "SASL" authentication to let users identify to Services
|
* Some IRCds allow "SASL" authentication to let users identify to services
|
||||||
* during the IRCd user registration process. If this module is loaded, Services will allow
|
* during the IRCd user registration process. If this module is loaded, Anope will allow
|
||||||
* authenticating users through this mechanism. Supported mechanisms are:
|
* authenticating users through this mechanism. Supported mechanisms are:
|
||||||
* PLAIN, EXTERNAL.
|
* PLAIN, EXTERNAL.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+11
-11
@@ -107,8 +107,8 @@ module
|
|||||||
* - memo_receive: Notify user if they have a new memo as soon as it's received
|
* - memo_receive: Notify user if they have a new memo as soon as it's received
|
||||||
* - memo_mail: Notify user if they have a new memo by mail
|
* - memo_mail: Notify user if they have a new memo by mail
|
||||||
* - autoop: User will be automatically opped in channels they enter and have access to
|
* - autoop: User will be automatically opped in channels they enter and have access to
|
||||||
* - msg: Services messages will be sent as PRIVMSGs instead of NOTICEs, requires
|
* - msg: Messages will be sent as PRIVMSGs instead of NOTICEs, requires options:useprivmsg
|
||||||
* options:useprivmsg to be enabled as well
|
* to be enabled as well
|
||||||
* - ns_keep_modes: Enables keepmodes, which retains user modes across sessions
|
* - ns_keep_modes: Enables keepmodes, which retains user modes across sessions
|
||||||
* - ns_no_expire: Enables no expire. Unconfirmed expire overrules this.
|
* - ns_no_expire: Enables no expire. Unconfirmed expire overrules this.
|
||||||
*
|
*
|
||||||
@@ -139,7 +139,7 @@ module
|
|||||||
secureadmins = yes
|
secureadmins = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will set the channel modes a user has access to upon identifying, assuming
|
* If set, Anope will set the channel modes a user has access to upon identifying, assuming
|
||||||
* they are not already set.
|
* they are not already set.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -147,14 +147,14 @@ module
|
|||||||
modeonid = yes
|
modeonid = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will set these user modes on any user who identifies.
|
* If set, Anope will set these user modes on any user who identifies.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
*/
|
*/
|
||||||
#modesonid = "+R"
|
#modesonid = "+R"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will not show netsplits in the last quit message field
|
* If set, Anope will not show netsplits in the last quit message field
|
||||||
* of NickServ's INFO command.
|
* of NickServ's INFO command.
|
||||||
*/
|
*/
|
||||||
hidenetsplitquit = no
|
hidenetsplitquit = no
|
||||||
@@ -168,7 +168,7 @@ module
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, forbids the registration of nicks that contain an existing
|
* If set, forbids the registration of nicks that contain an existing
|
||||||
* nick with Services access. For example, if Tester is a Services Oper,
|
* nick with services access. For example, if Tester is a Services Oper,
|
||||||
* you can't register NewTester or Tester123 unless you are an IRC
|
* you can't register NewTester or Tester123 unless you are an IRC
|
||||||
* Operator.
|
* Operator.
|
||||||
*
|
*
|
||||||
@@ -181,14 +181,14 @@ module
|
|||||||
#restrictopernicks = yes
|
#restrictopernicks = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The username, and possibly hostname, used for fake users created when Services needs to
|
* The username, and possibly hostname, used for fake users created when Anope needs to
|
||||||
* hold a nickname.
|
* hold a nickname.
|
||||||
*/
|
*/
|
||||||
enforceruser = "enforcer"
|
enforceruser = "enforcer"
|
||||||
enforcerhost = "services.host"
|
enforcerhost = "services.host"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The length of time Services hold nicknames.
|
* The length of time Anope should hold nicknames for.
|
||||||
*
|
*
|
||||||
* This directive is optional, but recommended. If not set it defaults to 1 minute.
|
* This directive is optional, but recommended. If not set it defaults to 1 minute.
|
||||||
*/
|
*/
|
||||||
@@ -204,7 +204,7 @@ module
|
|||||||
guestnickprefix = "Guest"
|
guestnickprefix = "Guest"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services do not allow ownership of nick names, only ownership of accounts.
|
* If set, Anope does not allow ownership of nick names, only ownership of accounts.
|
||||||
*/
|
*/
|
||||||
nonicknameownership = no
|
nonicknameownership = no
|
||||||
|
|
||||||
@@ -266,7 +266,7 @@ module
|
|||||||
accessmax = 32
|
accessmax = 32
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will add the usermask of registering users to the access list of their
|
* If set, Anope will add the usermask of registering users to the access list of their
|
||||||
* newly created account. If not set, users will always have to identify to NickServ before
|
* newly created account. If not set, users will always have to identify to NickServ before
|
||||||
* being recognized, unless they manually add an address to the access list of their account.
|
* being recognized, unless they manually add an address to the access list of their account.
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -452,7 +452,7 @@ module
|
|||||||
name = "ns_recover"
|
name = "ns_recover"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will svsnick and svsjoin users who use the recover
|
* If set, Anope will svsnick and svsjoin users who use the recover
|
||||||
* command on an identified user to the nick and channels of the recovered user.
|
* command on an identified user to the nick and channels of the recovered user.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
|
|||||||
+11
-11
@@ -75,7 +75,7 @@ module
|
|||||||
sqlineexpiry = 30d
|
sqlineexpiry = 30d
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, this option will make Services send an AKILL command immediately after it has been
|
* If set, this option will make Anope send an AKILL command immediately after it has been
|
||||||
* added with AKILL ADD. This eliminates the need for killing the user after the AKILL has
|
* added with AKILL ADD. This eliminates the need for killing the user after the AKILL has
|
||||||
* been added.
|
* been added.
|
||||||
*
|
*
|
||||||
@@ -84,7 +84,7 @@ module
|
|||||||
akillonadd = yes
|
akillonadd = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, this option will make Services send an (SVS)KILL command immediately after SNLINE ADD.
|
* If set, this option will make Anope send an (SVS)KILL command immediately after SNLINE ADD.
|
||||||
* This eliminates the need for killing the user after the SNLINE has been added.
|
* This eliminates the need for killing the user after the SNLINE has been added.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -92,7 +92,7 @@ module
|
|||||||
killonsnline = yes
|
killonsnline = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, this option will make Services send an (SVS)KILL command immediately after SQLINE ADD.
|
* If set, this option will make Anope send an (SVS)KILL command immediately after SQLINE ADD.
|
||||||
* This eliminates the need for killing the user after the SQLINE has been added.
|
* This eliminates the need for killing the user after the SQLINE has been added.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -167,7 +167,7 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill"
|
|||||||
name = "os_defcon"
|
name = "os_defcon"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Default DefCon level (1-5) to use when starting Services up. Level 5 constitutes normal operation
|
* Default DefCon level (1-5) to use when starting Anope up. Level 5 constitutes normal operation
|
||||||
* while level 1 constitutes the most restrictive operation. If this setting is left out or set to
|
* while level 1 constitutes the most restrictive operation. If this setting is left out or set to
|
||||||
* 0, DefCon will be disabled and the rest of this block will be ignored.
|
* 0, DefCon will be disabled and the rest of this block will be ignored.
|
||||||
*/
|
*/
|
||||||
@@ -184,8 +184,8 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill"
|
|||||||
* - forcechanmodes: Forces all channels to have the modes given in the later chanmodes directive
|
* - forcechanmodes: Forces all channels to have the modes given in the later chanmodes directive
|
||||||
* - reducedsessions: Reduces the session limit to the value given in the later sessionlimit directive
|
* - reducedsessions: Reduces the session limit to the value given in the later sessionlimit directive
|
||||||
* - nonewclients: KILL any new clients trying to connect
|
* - nonewclients: KILL any new clients trying to connect
|
||||||
* - operonly: Services will ignore all non-IRCops
|
* - operonly: Ignore all non-IRCops
|
||||||
* - silentoperonly: Services will silently ignore all non-IRCops
|
* - silentoperonly: Silently ignore all non-IRCops
|
||||||
* - akillnewclients: AKILL any new clients trying to connect
|
* - akillnewclients: AKILL any new clients trying to connect
|
||||||
* - nonewmemos: No new memos will be sent to block MemoServ attacks
|
* - nonewmemos: No new memos will be sent to block MemoServ attacks
|
||||||
*/
|
*/
|
||||||
@@ -209,7 +209,7 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill"
|
|||||||
* The channel modes to set on all channels when the DefCon channel mode system is in use.
|
* The channel modes to set on all channels when the DefCon channel mode system is in use.
|
||||||
*
|
*
|
||||||
* Note 1: Choose these modes carefully, because when DefCon switches to a level which does NOT have
|
* Note 1: Choose these modes carefully, because when DefCon switches to a level which does NOT have
|
||||||
* the mode setting selected, Services will set the reverse on all channels, e.g. if this setting
|
* the mode setting selected, Anope will set the reverse on all channels, e.g. if this setting
|
||||||
* is +RN when DefCon is used, all channels will be set to +RN, when DefCon is removed, all
|
* is +RN when DefCon is used, all channels will be set to +RN, when DefCon is removed, all
|
||||||
* channels will be set to -RN. You don't want to set this to +k for example, because when DefCon
|
* channels will be set to -RN. You don't want to set this to +k for example, because when DefCon
|
||||||
* is removed, all channels are set -k, removing the key from previously keyed channels.
|
* is removed, all channels are set -k, removing the key from previously keyed channels.
|
||||||
@@ -227,14 +227,14 @@ command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill"
|
|||||||
#timeout = 15m
|
#timeout = 15m
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will send a global message on DefCon level changes.
|
* If set, Anope will send a global message on DefCon level changes.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
*/
|
*/
|
||||||
#globalondefcon = yes
|
#globalondefcon = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will send the global message defined in the message directive on DefCon level
|
* If set, Anope will send the global message defined in the message directive on DefCon level
|
||||||
* changes.
|
* changes.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
@@ -348,7 +348,7 @@ command { service = "OperServ"; name = "FORBID"; command = "operserv/forbid"; pe
|
|||||||
*
|
*
|
||||||
* Provides the command operserv/ignore.
|
* Provides the command operserv/ignore.
|
||||||
*
|
*
|
||||||
* Used to make Services ignore users.
|
* Used to make Anope ignore users.
|
||||||
*/
|
*/
|
||||||
module { name = "os_ignore" }
|
module { name = "os_ignore" }
|
||||||
command { service = "OperServ"; name = "IGNORE"; command = "operserv/ignore"; permission = "operserv/ignore"; }
|
command { service = "OperServ"; name = "IGNORE"; command = "operserv/ignore"; permission = "operserv/ignore"; }
|
||||||
@@ -584,7 +584,7 @@ module
|
|||||||
#sessionlimitdetailsloc = "Please visit https://your.website.url/ for more information about session limits."
|
#sessionlimitdetailsloc = "Please visit https://your.website.url/ for more information about session limits."
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set and is not 0, this directive tells Services to add an AKILL if the number of subsequent kills
|
* If set and is not 0, this directive tells Anope to add an AKILL if the number of subsequent kills
|
||||||
* for the same host exceeds this value, preventing the network from experiencing KILL floods.
|
* for the same host exceeds this value, preventing the network from experiencing KILL floods.
|
||||||
*
|
*
|
||||||
* This directive is optional.
|
* This directive is optional.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Example configuration file for Services. After making the appropriate
|
* Example configuration file for Anope. After making the appropriate
|
||||||
* changes to this file, place it in the Services conf directory (as
|
* changes to this file, place it in the Anope conf directory (as
|
||||||
* specified in the "configure" script, default /home/username/anope/conf)
|
* specified in the "Config" script, default /home/username/anope/conf)
|
||||||
* under the name "anope.conf".
|
* under the name "anope.conf".
|
||||||
*
|
*
|
||||||
* The format of this file is fairly simple: three types of comments are supported:
|
* The format of this file is fairly simple: three types of comments are supported:
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
* included to indicate whether an option is required:
|
* included to indicate whether an option is required:
|
||||||
*
|
*
|
||||||
* [REQUIRED]
|
* [REQUIRED]
|
||||||
* Indicates a directive which must be given. Without it, Services will
|
* Indicates a directive which must be given. Without it, Anope will
|
||||||
* not start.
|
* not start.
|
||||||
*
|
*
|
||||||
* [RECOMMENDED]
|
* [RECOMMENDED]
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
*
|
*
|
||||||
* [DEPRECATED]
|
* [DEPRECATED]
|
||||||
* Indicates a directive which will disappear in a future version of
|
* Indicates a directive which will disappear in a future version of
|
||||||
* Services, usually because its functionality has been either
|
* Anope, usually because its functionality has been either
|
||||||
* superseded by that of other directives or incorporated into the main
|
* superseded by that of other directives or incorporated into the main
|
||||||
* program.
|
* program.
|
||||||
*/
|
*/
|
||||||
@@ -120,7 +120,7 @@ define
|
|||||||
* This section can be included multiple times, and Anope will attempt to
|
* This section can be included multiple times, and Anope will attempt to
|
||||||
* connect to each server until it finally connects.
|
* connect to each server until it finally connects.
|
||||||
*
|
*
|
||||||
* Each uplink IRCd should have a corresponding configuration to allow Services
|
* Each uplink IRCd should have a corresponding configuration to allow Anope
|
||||||
* to link to it.
|
* to link to it.
|
||||||
*
|
*
|
||||||
* An example configuration for InspIRCd that is compatible with the below uplink
|
* An example configuration for InspIRCd that is compatible with the below uplink
|
||||||
@@ -158,20 +158,20 @@ define
|
|||||||
uplink
|
uplink
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The IP or hostname of the IRC server you wish to connect Services to.
|
* The IP or hostname of the IRC server you wish to connect Anope to.
|
||||||
* Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
|
* Usually, you will want to connect over 127.0.0.1 (aka localhost).
|
||||||
*
|
*
|
||||||
* NOTE: On some shell providers, this will not be an option.
|
* NOTE: On some shell providers, this will not be an option.
|
||||||
*/
|
*/
|
||||||
host = "127.0.0.1"
|
host = "127.0.0.1"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable if Services should connect using IPv6.
|
* Enable if Anope should connect using IPv6.
|
||||||
*/
|
*/
|
||||||
ipv6 = no
|
ipv6 = no
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Enable if Services should connect using SSL.
|
* Enable if Anope should connect using SSL.
|
||||||
* You must have an SSL module loaded for this to work.
|
* You must have an SSL module loaded for this to work.
|
||||||
*/
|
*/
|
||||||
ssl = no
|
ssl = no
|
||||||
@@ -197,12 +197,12 @@ uplink
|
|||||||
/*
|
/*
|
||||||
* [REQUIRED] Server Information
|
* [REQUIRED] Server Information
|
||||||
*
|
*
|
||||||
* This section contains information about the Services server.
|
* This section contains information about the services server.
|
||||||
*/
|
*/
|
||||||
serverinfo
|
serverinfo
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The hostname that Services will be seen as, it must have no conflicts with any
|
* The hostname that Anope will be seen as, it must have no conflicts with any
|
||||||
* other server names on the rest of your IRC network. Note that it does not have
|
* other server names on the rest of your IRC network. Note that it does not have
|
||||||
* to be an existing hostname, just one that isn't on your network already.
|
* to be an existing hostname, just one that isn't on your network already.
|
||||||
*/
|
*/
|
||||||
@@ -212,11 +212,11 @@ serverinfo
|
|||||||
* The text which should appear as the server's information in /WHOIS and similar
|
* The text which should appear as the server's information in /WHOIS and similar
|
||||||
* queries.
|
* queries.
|
||||||
*/
|
*/
|
||||||
description = "Stats for IRC Networks"
|
description = "Anope IRC Statistics"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The local address that Services will bind to before connecting to the remote
|
* The local address that Anope will bind to before connecting to the remote
|
||||||
* server. This may be useful for multihomed hosts. If omitted, Services will let
|
* server. This may be useful for multihomed hosts. If omitted, Anope will let
|
||||||
* the Operating System choose the local address. This directive is optional.
|
* the Operating System choose the local address. This directive is optional.
|
||||||
*
|
*
|
||||||
* If you don't know what this means or don't need to use it, just leave this
|
* If you don't know what this means or don't need to use it, just leave this
|
||||||
@@ -232,7 +232,7 @@ serverinfo
|
|||||||
#id = "00A"
|
#id = "00A"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The filename containing the Services process ID. The path is relative to the
|
* The filename containing the Anope process ID. The path is relative to the
|
||||||
* services root directory.
|
* services root directory.
|
||||||
*/
|
*/
|
||||||
pid = "data/anope.pid"
|
pid = "data/anope.pid"
|
||||||
@@ -268,32 +268,32 @@ module
|
|||||||
/*
|
/*
|
||||||
* [REQUIRED] Network Information
|
* [REQUIRED] Network Information
|
||||||
*
|
*
|
||||||
* This section contains information about the IRC network that Services will be
|
* This section contains information about the IRC network that Anope will be
|
||||||
* connecting to.
|
* connecting to.
|
||||||
*/
|
*/
|
||||||
networkinfo
|
networkinfo
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* This is the name of the network that Services will be running on.
|
* This is the name of the network that Anope will be running on.
|
||||||
*/
|
*/
|
||||||
networkname = "LocalNet"
|
networkname = "LocalNet"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set this to the maximum allowed nick length on your network.
|
* Set this to the maximum allowed nick length on your network.
|
||||||
* Be sure to set this correctly, as setting this wrong can result in
|
* Be sure to set this correctly, as setting this wrong can result in
|
||||||
* Services being disconnected from the network.
|
* Anope being disconnected from the network.
|
||||||
*/
|
*/
|
||||||
nicklen = 31
|
nicklen = 31
|
||||||
|
|
||||||
/* Set this to the maximum allowed ident length on your network.
|
/* Set this to the maximum allowed ident length on your network.
|
||||||
* Be sure to set this correctly, as setting this wrong can result in
|
* Be sure to set this correctly, as setting this wrong can result in
|
||||||
* Services being disconnected from the network.
|
* Anope being disconnected from the network.
|
||||||
*/
|
*/
|
||||||
userlen = 10
|
userlen = 10
|
||||||
|
|
||||||
/* Set this to the maximum allowed hostname length on your network.
|
/* Set this to the maximum allowed hostname length on your network.
|
||||||
* Be sure to set this correctly, as setting this wrong can result in
|
* Be sure to set this correctly, as setting this wrong can result in
|
||||||
* Services being disconnected from the network.
|
* Anope being disconnected from the network.
|
||||||
*/
|
*/
|
||||||
hostlen = 64
|
hostlen = 64
|
||||||
|
|
||||||
@@ -311,7 +311,7 @@ networkinfo
|
|||||||
* to services, such as BotServ bot hostnames and user vhosts. Changing this is not
|
* to services, such as BotServ bot hostnames and user vhosts. Changing this is not
|
||||||
* recommended unless you know for sure your IRCd supports whatever characters you are
|
* recommended unless you know for sure your IRCd supports whatever characters you are
|
||||||
* wanting to use. Telling services to set a vHost containing characters your IRCd
|
* wanting to use. Telling services to set a vHost containing characters your IRCd
|
||||||
* disallows could potentially break the IRCd and/or Services.
|
* disallows could potentially break the IRCd and/or Anope.
|
||||||
*
|
*
|
||||||
* It is recommended you DON'T change this.
|
* It is recommended you DON'T change this.
|
||||||
*/
|
*/
|
||||||
@@ -336,22 +336,22 @@ networkinfo
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* [REQUIRED] Services Options
|
* [REQUIRED] Anope Options
|
||||||
*
|
*
|
||||||
* This section contains various options which determine how Services will operate.
|
* This section contains various options which determine how Anope will operate.
|
||||||
*/
|
*/
|
||||||
options
|
options
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* On Linux/UNIX systems Anope can setuid and setgid to this user and group
|
* On Linux/UNIX systems Anope can setuid and setgid to this user and group
|
||||||
* after starting up. This is useful if Anope has to bind to privileged ports
|
* after starting up. This is useful if Anope has to bind to privileged ports.
|
||||||
*/
|
*/
|
||||||
#user = "anope"
|
#user = "anope"
|
||||||
#group = "anope"
|
#group = "anope"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The case mapping used by services. This must be set to a valid locale name
|
* The case mapping used by services. This must be set to a valid locale name
|
||||||
* installed on your machine. Services use this case map to compare, with
|
* installed on your machine. Anope uses this case map to compare, with
|
||||||
* case insensitivity, things such as nick names, channel names, etc.
|
* case insensitivity, things such as nick names, channel names, etc.
|
||||||
*
|
*
|
||||||
* We provide two special casemaps shipped with Anope, ascii and rfc1459.
|
* We provide two special casemaps shipped with Anope, ascii and rfc1459.
|
||||||
@@ -375,14 +375,14 @@ options
|
|||||||
warningtimeout = 4h
|
warningtimeout = 4h
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If set, Services will only show /stats o to IRC Operators. This directive
|
* If set, Anope will only show /stats o to IRC Operators. This directive
|
||||||
* is optional.
|
* is optional.
|
||||||
*/
|
*/
|
||||||
#hidestatso = yes
|
#hidestatso = yes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A space-separated list of U-lined servers on your network, it is assumed that
|
* A space-separated list of U-lined servers on your network, it is assumed that
|
||||||
* the servers in this list are allowed to set channel modes and Services will
|
* the servers in this list are allowed to set channel modes and Anope will
|
||||||
* not attempt to reverse their mode changes.
|
* not attempt to reverse their mode changes.
|
||||||
*
|
*
|
||||||
* WARNING: Do NOT put your normal IRC user servers in this directive.
|
* WARNING: Do NOT put your normal IRC user servers in this directive.
|
||||||
|
|||||||
+3
-3
@@ -23,7 +23,7 @@ Anope DefCon
|
|||||||
These are configurable levels that mandates what actions Anope should
|
These are configurable levels that mandates what actions Anope should
|
||||||
take in case of emergency and change in readiness status.
|
take in case of emergency and change in readiness status.
|
||||||
|
|
||||||
It is used to prevent abuse to both Services, and the ircd on which they
|
It is used to prevent abuse to both Anope, and the IRCd on which they
|
||||||
are running. Also to protect the users, primarily in the event of Clones
|
are running. Also to protect the users, primarily in the event of Clones
|
||||||
and/or FloodBOT attacks.
|
and/or FloodBOT attacks.
|
||||||
|
|
||||||
@@ -50,8 +50,8 @@ Anope DefCon
|
|||||||
Force Chan Mode
|
Force Chan Mode
|
||||||
Use Reduced Session Limit
|
Use Reduced Session Limit
|
||||||
KILL any new clients trying to connect
|
KILL any new clients trying to connect
|
||||||
Services will ignore everyone but opers
|
Ignore everyone but opers
|
||||||
Services will silently ignore everyone but opers
|
Silently ignore everyone but opers
|
||||||
AKILL all new clients trying to connect
|
AKILL all new clients trying to connect
|
||||||
No new memos sent to block MemoServ attacks
|
No new memos sent to block MemoServ attacks
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -75,7 +75,7 @@ Note: You should also read the README and FAQ files!
|
|||||||
|
|
||||||
3) Setting up the IRCd
|
3) Setting up the IRCd
|
||||||
|
|
||||||
Services acts as an IRC server with pseudo-clients on it. To link them to
|
Anope acts as an IRC server with pseudo-clients on it. To link them to
|
||||||
your network, you'll need to configure your IRCd to allow services to link.
|
your network, you'll need to configure your IRCd to allow services to link.
|
||||||
|
|
||||||
The configuration varies depending on the IRCd, but you will probably need
|
The configuration varies depending on the IRCd, but you will probably need
|
||||||
@@ -101,7 +101,7 @@ Note: You should also read the README and FAQ files!
|
|||||||
displayed on the screen. Correct them until there are no errors anymore.
|
displayed on the screen. Correct them until there are no errors anymore.
|
||||||
A successful startup won't generate any message.
|
A successful startup won't generate any message.
|
||||||
|
|
||||||
Give Services at least one minute to link to your network, as certain
|
Give Anope at least one minute to link to your network, as certain
|
||||||
IRCds on some OSes may be really slow for the link process. If nothing
|
IRCds on some OSes may be really slow for the link process. If nothing
|
||||||
happens after about a minute, it is probably a configuration problem. Try
|
happens after about a minute, it is probably a configuration problem. Try
|
||||||
to launch Anope with ./anope -debug -nofork to see any errors that it
|
to launch Anope with ./anope -debug -nofork to see any errors that it
|
||||||
|
|||||||
+1
-1
@@ -82,7 +82,7 @@ Note : Vous devrez également lire les fichiers README et FAQ !
|
|||||||
|
|
||||||
3) Configuration de l'IRCd
|
3) Configuration de l'IRCd
|
||||||
|
|
||||||
Les Services agissent comme un serveur IRC avec des pseudo-clients.
|
Anope agit comme un serveur IRC avec des pseudo-clients.
|
||||||
Pour les relier à votre réseau, vous aurez besoin de configurer votre
|
Pour les relier à votre réseau, vous aurez besoin de configurer votre
|
||||||
IRCd pour permettre aux services de se connecter.
|
IRCd pour permettre aux services de se connecter.
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -120,7 +120,7 @@ Table of Contents
|
|||||||
|
|
||||||
2) Presentation
|
2) Presentation
|
||||||
|
|
||||||
Anope is a set of Services for IRC networks that allows users to manage
|
Anope is a set of services for IRC networks that allows users to manage
|
||||||
their nicks and channels in a secure and efficient way, and administrators
|
their nicks and channels in a secure and efficient way, and administrators
|
||||||
to manage their network with powerful tools.
|
to manage their network with powerful tools.
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@ Table of Contents
|
|||||||
the log file; if you send a bug report, PLEASE include an excerpt from
|
the log file; if you send a bug report, PLEASE include an excerpt from
|
||||||
the log file WITH DEBUGGING ACTIVE; we cannot emphasize enough how
|
the log file WITH DEBUGGING ACTIVE; we cannot emphasize enough how
|
||||||
important this is to tracking down problems. (You can also enable
|
important this is to tracking down problems. (You can also enable
|
||||||
debugging while Services is running using OperServ's SET DEBUG command.)
|
debugging while Anope is running using OperServ's SET DEBUG command.)
|
||||||
If you repeat use --debug=<level>, the debugging level will be increased,
|
If you repeat use --debug=<level>, the debugging level will be increased,
|
||||||
which provides more detailed information but may also slow Anope down
|
which provides more detailed information but may also slow Anope down
|
||||||
considerably and make the log file grow dramatically faster. In general,
|
considerably and make the log file grow dramatically faster. In general,
|
||||||
|
|||||||
+2
-2
@@ -149,12 +149,12 @@ Table of Contents
|
|||||||
Which returns a new object ID for me, in this example it will be "8".
|
Which returns a new object ID for me, in this example it will be "8".
|
||||||
Now I can create the object:
|
Now I can create the object:
|
||||||
|
|
||||||
HMSET hash:BotInfo:8 nick redis user redis host services.anope.org realname "Services for IRC Networks"
|
HMSET hash:BotInfo:8 nick redis user redis host services.anope.org realname "Anope IRC Services"
|
||||||
|
|
||||||
Note if you are using HSET instead of HMSET you will need to use a transaction, as shown in the above example.
|
Note if you are using HSET instead of HMSET you will need to use a transaction, as shown in the above example.
|
||||||
If you are watching your services logs you will immediately see:
|
If you are watching your services logs you will immediately see:
|
||||||
|
|
||||||
USERS: redis!redis@services.anope.org (Services for IRC Networks) connected to the network (services.anope.org)
|
USERS: redis!redis@services.anope.org (Anope IRC Services) connected to the network (services.anope.org)
|
||||||
|
|
||||||
And the bot redis will be in BotServ's bot list.
|
And the bot redis will be in BotServ's bot list.
|
||||||
Notice how ids:BotInfo and the value keys are updated automatically.
|
Notice how ids:BotInfo and the value keys are updated automatically.
|
||||||
|
|||||||
+2
-2
@@ -366,11 +366,11 @@ namespace Anope
|
|||||||
*/
|
*/
|
||||||
extern CoreExport bool ReadOnly, NoFork, NoThird, NoExpire, ProtocolDebug;
|
extern CoreExport bool ReadOnly, NoFork, NoThird, NoExpire, ProtocolDebug;
|
||||||
|
|
||||||
/** The root of the services installation. Usually ~/anope
|
/** The root of the Anope installation. Usually ~/anope
|
||||||
*/
|
*/
|
||||||
extern CoreExport Anope::string ServicesDir;
|
extern CoreExport Anope::string ServicesDir;
|
||||||
|
|
||||||
/** Services binary name (eg services)
|
/** Anope binary name (eg anope)
|
||||||
*/
|
*/
|
||||||
extern CoreExport Anope::string ServicesBin;
|
extern CoreExport Anope::string ServicesBin;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -321,7 +321,7 @@ class CoreExport Module : public Extensible
|
|||||||
*/
|
*/
|
||||||
virtual void OnUserKicked(const MessageSource &source, User *target, const Anope::string &channel, ChannelStatus &status, const Anope::string &kickmsg) { throw NotImplementedException(); }
|
virtual void OnUserKicked(const MessageSource &source, User *target, const Anope::string &channel, ChannelStatus &status, const Anope::string &kickmsg) { throw NotImplementedException(); }
|
||||||
|
|
||||||
/** Called when Services' configuration is being (re)loaded.
|
/** Called when the configuration is being (re)loaded.
|
||||||
* @param conf The config that is being built now and will replace the global Config object
|
* @param conf The config that is being built now and will replace the global Config object
|
||||||
* @throws A ConfigException to abort the config (re)loading process.
|
* @throws A ConfigException to abort the config (re)loading process.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -112,7 +112,7 @@ class CoreExport Service : public virtual Base
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Like Reference, but used to refer to Services.
|
/** Like Reference, but used to refer to a Service.
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class ServiceReference : public Reference<T>
|
class ServiceReference : public Reference<T>
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ class CommandCSSetBanType : public Command
|
|||||||
public:
|
public:
|
||||||
CommandCSSetBanType(Module *creator, const Anope::string &cname = "chanserv/set/bantype") : Command(creator, cname, 2, 2)
|
CommandCSSetBanType(Module *creator, const Anope::string &cname = "chanserv/set/bantype") : Command(creator, cname, 2, 2)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Set how Services make bans on the channel"));
|
this->SetDesc(_("Set how services make bans on the channel"));
|
||||||
this->SetSyntax(_("\037channel\037 \037bantype\037"));
|
this->SetSyntax(_("\037channel\037 \037bantype\037"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ class CommandNSLogout : public Command
|
|||||||
"yourself.\n"
|
"yourself.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"With a parameter, does the same for the given nick. If you\n"
|
"With a parameter, does the same for the given nick. If you\n"
|
||||||
"specify \002REVALIDATE\002 as well, Services will ask the given nick\n"
|
"specify \002REVALIDATE\002 as well, services will ask the given nick\n"
|
||||||
"to re-identify. This is limited to \002Services Operators\002."));
|
"to re-identify. This is limited to \002Services Operators\002."));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -797,7 +797,7 @@ class CommandNSSetLanguage : public Command
|
|||||||
public:
|
public:
|
||||||
CommandNSSetLanguage(Module *creator, const Anope::string &sname = "nickserv/set/language", size_t min = 1) : Command(creator, sname, min, min + 1)
|
CommandNSSetLanguage(Module *creator, const Anope::string &sname = "nickserv/set/language", size_t min = 1) : Command(creator, sname, min, min + 1)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Set the language Services will use when messaging you"));
|
this->SetDesc(_("Set the language services will use when messaging you"));
|
||||||
this->SetSyntax(_("\037language\037"));
|
this->SetSyntax(_("\037language\037"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -852,7 +852,7 @@ class CommandNSSetLanguage : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Changes the language Services uses when sending messages to\n"
|
source.Reply(_("Changes the language services uses when sending messages to\n"
|
||||||
"you (for example, when responding to a command you send).\n"
|
"you (for example, when responding to a command you send).\n"
|
||||||
"\037language\037 should be chosen from the following list of\n"
|
"\037language\037 should be chosen from the following list of\n"
|
||||||
"supported languages:"));
|
"supported languages:"));
|
||||||
@@ -888,7 +888,7 @@ class CommandNSSASetLanguage : public CommandNSSetLanguage
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Changes the language Services uses when sending messages to\n"
|
source.Reply(_("Changes the language services uses when sending messages to\n"
|
||||||
"the given user (for example, when responding to a command they send).\n"
|
"the given user (for example, when responding to a command they send).\n"
|
||||||
"\037language\037 should be chosen from the following list of\n"
|
"\037language\037 should be chosen from the following list of\n"
|
||||||
"supported languages:"));
|
"supported languages:"));
|
||||||
@@ -909,7 +909,7 @@ class CommandNSSetMessage : public Command
|
|||||||
public:
|
public:
|
||||||
CommandNSSetMessage(Module *creator, const Anope::string &sname = "nickserv/set/message", size_t min = 1) : Command(creator, sname, min, min + 1)
|
CommandNSSetMessage(Module *creator, const Anope::string &sname = "nickserv/set/message", size_t min = 1) : Command(creator, sname, min, min + 1)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Change the communication method of Services"));
|
this->SetDesc(_("Change the communication method of services"));
|
||||||
this->SetSyntax("{ON | OFF}");
|
this->SetSyntax("{ON | OFF}");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -970,8 +970,8 @@ class CommandNSSetMessage : public Command
|
|||||||
|
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Allows you to choose the way Services are communicating with\n"
|
source.Reply(_("Allows you to choose the way services are communicating with\n"
|
||||||
"you. With \002%s\002 set, Services will use messages, else they'll\n"
|
"you. With \002%s\002 set, services will use messages, else they'll\n"
|
||||||
"use notices."), cmd.upper().c_str());
|
"use notices."), cmd.upper().c_str());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -996,8 +996,8 @@ class CommandNSSASetMessage : public CommandNSSetMessage
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Allows you to choose the way Services are communicating with\n"
|
source.Reply(_("Allows you to choose the way services are communicating with\n"
|
||||||
"the given user. With \002MSG\002 set, Services will use messages,\n"
|
"the given user. With \002MSG\002 set, services will use messages,\n"
|
||||||
"else they'll use notices."));
|
"else they'll use notices."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -338,7 +338,7 @@ class CommandOSIgnore : public Command
|
|||||||
public:
|
public:
|
||||||
CommandOSIgnore(Module *creator) : Command(creator, "operserv/ignore", 1, 4)
|
CommandOSIgnore(Module *creator) : Command(creator, "operserv/ignore", 1, 4)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Modify the Services ignore list"));
|
this->SetDesc(_("Modify the services ignore list"));
|
||||||
this->SetSyntax(_("ADD \037expiry\037 {\037nick\037|\037mask\037} [\037reason\037]"));
|
this->SetSyntax(_("ADD \037expiry\037 {\037nick\037|\037mask\037} [\037reason\037]"));
|
||||||
this->SetSyntax(_("DEL {\037nick\037|\037mask\037}"));
|
this->SetSyntax(_("DEL {\037nick\037|\037mask\037}"));
|
||||||
this->SetSyntax("LIST");
|
this->SetSyntax("LIST");
|
||||||
@@ -367,13 +367,13 @@ class CommandOSIgnore : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Allows Services Operators to make Services ignore a nick or mask\n"
|
source.Reply(_("Allows Services Operators to make services ignore a nick or mask\n"
|
||||||
"for a certain time or until the next restart. The default\n"
|
"for a certain time or until the next restart. The default\n"
|
||||||
"time format is seconds. You can specify it by using units.\n"
|
"time format is seconds. You can specify it by using units.\n"
|
||||||
"Valid units are: \037s\037 for seconds, \037m\037 for minutes,\n"
|
"Valid units are: \037s\037 for seconds, \037m\037 for minutes,\n"
|
||||||
"\037h\037 for hours and \037d\037 for days.\n"
|
"\037h\037 for hours and \037d\037 for days.\n"
|
||||||
"Combinations of these units are not permitted.\n"
|
"Combinations of these units are not permitted.\n"
|
||||||
"To make Services permanently ignore the user, type 0 as time.\n"
|
"To make services permanently ignore the user, type 0 as time.\n"
|
||||||
"When adding a \037mask\037, it should be in the format nick!user@host,\n"
|
"When adding a \037mask\037, it should be in the format nick!user@host,\n"
|
||||||
"everything else will be considered a nick. Wildcards are permitted.\n"
|
"everything else will be considered a nick. Wildcards are permitted.\n"
|
||||||
" \n"
|
" \n"
|
||||||
|
|||||||
@@ -53,8 +53,8 @@ class CommandOSJupe : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Tells Services to jupiter a server -- that is, to create\n"
|
source.Reply(_("Tells services to jupiter a server -- that is, to create\n"
|
||||||
"a fake \"server\" connected to Services which prevents\n"
|
"a fake \"server\" connected to services which prevents\n"
|
||||||
"the real server of that name from connecting. The jupe\n"
|
"the real server of that name from connecting. The jupe\n"
|
||||||
"may be removed using a standard \002SQUIT\002. If a reason is\n"
|
"may be removed using a standard \002SQUIT\002. If a reason is\n"
|
||||||
"given, it is placed in the server information field;\n"
|
"given, it is placed in the server information field;\n"
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ class CommandOSLogSearch : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("This command searches the Services logfiles for messages\n"
|
source.Reply(_("This command searches the services logfiles for messages\n"
|
||||||
"that match the given pattern. The day and limit argument\n"
|
"that match the given pattern. The day and limit argument\n"
|
||||||
"may be used to specify how many days of logs to search\n"
|
"may be used to specify how many days of logs to search\n"
|
||||||
"and the number of replies to limit to. By default this\n"
|
"and the number of replies to limit to. By default this\n"
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ class CommandOSReload : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Causes Services to reload the configuration file. Note that\n"
|
source.Reply(_("Causes services to reload the configuration file. Note that\n"
|
||||||
"some directives still need the restart of the Services to\n"
|
"some directives still need the restart of the services to\n"
|
||||||
"take effect (such as Services' nicknames, activation of the\n"
|
"take effect (such as services' nicknames, activation of the\n"
|
||||||
"session limitation, etc.)."));
|
"session limitation, etc.)."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ class CommandOSSet : public Command
|
|||||||
public:
|
public:
|
||||||
CommandOSSet(Module *creator) : Command(creator, "operserv/set", 1, 2)
|
CommandOSSet(Module *creator) : Command(creator, "operserv/set", 1, 2)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Set various global Services options"));
|
this->SetDesc(_("Set various global services options"));
|
||||||
this->SetSyntax(_("\037option\037 \037setting\037"));
|
this->SetSyntax(_("\037option\037 \037setting\037"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -196,7 +196,7 @@ class CommandOSSet : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Sets various global Services options. Option names\n"
|
source.Reply(_("Sets various global services options. Option names\n"
|
||||||
"currently defined are:\n"
|
"currently defined are:\n"
|
||||||
" READONLY Set read-only or read-write mode\n"
|
" READONLY Set read-only or read-write mode\n"
|
||||||
" DEBUG Activate or deactivate debug mode\n"
|
" DEBUG Activate or deactivate debug mode\n"
|
||||||
@@ -212,13 +212,13 @@ class CommandOSSet : public Command
|
|||||||
source.Reply(_("Syntax: \002READONLY {ON | OFF}\002\n"
|
source.Reply(_("Syntax: \002READONLY {ON | OFF}\002\n"
|
||||||
" \n"
|
" \n"
|
||||||
"Sets read-only mode on or off. In read-only mode, normal\n"
|
"Sets read-only mode on or off. In read-only mode, normal\n"
|
||||||
"users will not be allowed to modify any Services data,\n"
|
"users will not be allowed to modify any services data,\n"
|
||||||
"including channel and nickname access lists, etc. IRCops\n"
|
"including channel and nickname access lists, etc. IRCops\n"
|
||||||
"with sufficient Services privileges will be able to modify\n"
|
"with sufficient services privileges will be able to modify\n"
|
||||||
"Services' AKILL, SQLINE, SNLINE and ignore lists, drop,\n"
|
"Services' AKILL, SQLINE, SNLINE and ignore lists, drop,\n"
|
||||||
"suspend or forbid nicknames and channels, and manage news,\n"
|
"suspend or forbid nicknames and channels, and manage news,\n"
|
||||||
"oper info and DNS, but any such changes will not be saved\n"
|
"oper info and DNS, but any such changes will not be saved\n"
|
||||||
"unless read-only mode is deactivated before Services are\n"
|
"unless read-only mode is deactivated before services are\n"
|
||||||
"terminated or restarted.\n"
|
"terminated or restarted.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"This option is equivalent to the command-line option\n"
|
"This option is equivalent to the command-line option\n"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class CommandOSQuit : public Command
|
|||||||
public:
|
public:
|
||||||
CommandOSQuit(Module *creator) : Command(creator, "operserv/quit", 0, 0)
|
CommandOSQuit(Module *creator) : Command(creator, "operserv/quit", 0, 0)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Terminate Services WITHOUT saving"));
|
this->SetDesc(_("Terminate services WITHOUT saving"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||||
@@ -31,7 +31,7 @@ class CommandOSQuit : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Causes Services to do an immediate shutdown; databases are\n"
|
source.Reply(_("Causes services to do an immediate shutdown; databases are\n"
|
||||||
"\002not\002 saved. This command should not be used unless\n"
|
"\002not\002 saved. This command should not be used unless\n"
|
||||||
"damage to the in-memory copies of the databases is feared\n"
|
"damage to the in-memory copies of the databases is feared\n"
|
||||||
"and they should not be saved."));
|
"and they should not be saved."));
|
||||||
@@ -59,7 +59,7 @@ class CommandOSRestart : public Command
|
|||||||
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
|
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
|
||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(_("Causes Services to save all databases and then restart\n"
|
source.Reply(_("Causes services to save all databases and then restart\n"
|
||||||
"(i.e. exit and immediately re-run the executable)."));
|
"(i.e. exit and immediately re-run the executable)."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -86,7 +86,7 @@ class CommandOSShutdown : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Causes Services to save all databases and then shut down."));
|
source.Reply(_("Causes services to save all databases and then shut down."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ class CommandOSStats : public Command
|
|||||||
CommandOSStats(Module *creator) : Command(creator, "operserv/stats", 0, 1),
|
CommandOSStats(Module *creator) : Command(creator, "operserv/stats", 0, 1),
|
||||||
akills("XLineManager", "xlinemanager/sgline"), snlines("XLineManager", "xlinemanager/snline"), sqlines("XLineManager", "xlinemanager/sqline")
|
akills("XLineManager", "xlinemanager/sgline"), snlines("XLineManager", "xlinemanager/snline"), sqlines("XLineManager", "xlinemanager/sqline")
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Show status of Services and network"));
|
this->SetDesc(_("Show status of services and network"));
|
||||||
this->SetSyntax("[AKILL | HASH | UPLINK | UPTIME | ALL | RESET]");
|
this->SetSyntax("[AKILL | HASH | UPLINK | UPTIME | ALL | RESET]");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -234,8 +234,8 @@ class CommandOSStats : public Command
|
|||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Without any option, shows the current number of users online,\n"
|
source.Reply(_("Without any option, shows the current number of users online,\n"
|
||||||
"and the highest number of users online since Services was\n"
|
"and the highest number of users online since services was\n"
|
||||||
"started, and the length of time Services has been running.\n"
|
"started, and the length of time services has been running.\n"
|
||||||
" \n"
|
" \n"
|
||||||
"With the \002AKILL\002 option, displays the current size of the\n"
|
"With the \002AKILL\002 option, displays the current size of the\n"
|
||||||
"AKILL list and the current default expiry time.\n"
|
"AKILL list and the current default expiry time.\n"
|
||||||
|
|||||||
@@ -435,7 +435,7 @@ class CommandOSSNLine : public CommandOSSXLineBase
|
|||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Allows Services Operators to manipulate the SNLINE list. If\n"
|
source.Reply(_("Allows Services Operators to manipulate the SNLINE list. If\n"
|
||||||
"a user with a realname matching an SNLINE mask attempts to\n"
|
"a user with a realname matching an SNLINE mask attempts to\n"
|
||||||
"connect, Services will not allow it to pursue his IRC\n"
|
"connect, services will not allow it to pursue his IRC\n"
|
||||||
"session."));
|
"session."));
|
||||||
source.Reply(_(" \n"
|
source.Reply(_(" \n"
|
||||||
"\002SNLINE ADD\002 adds the given realname mask to the SNLINE\n"
|
"\002SNLINE ADD\002 adds the given realname mask to the SNLINE\n"
|
||||||
@@ -669,7 +669,7 @@ class CommandOSSQLine : public CommandOSSXLineBase
|
|||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Allows Services Operators to manipulate the SQLINE list. If\n"
|
source.Reply(_("Allows Services Operators to manipulate the SQLINE list. If\n"
|
||||||
"a user with a nick matching an SQLINE mask attempts to\n"
|
"a user with a nick matching an SQLINE mask attempts to\n"
|
||||||
"connect, Services will not allow it to pursue his IRC\n"
|
"connect, services will not allow it to pursue his IRC\n"
|
||||||
"session.\n"
|
"session.\n"
|
||||||
"If the first character of the mask is #, services will\n"
|
"If the first character of the mask is #, services will\n"
|
||||||
"prevent the use of matching channels. If the mask is a\n"
|
"prevent the use of matching channels. If the mask is a\n"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class CommandOSUpdate : public Command
|
|||||||
public:
|
public:
|
||||||
CommandOSUpdate(Module *creator) : Command(creator, "operserv/update", 0, 0)
|
CommandOSUpdate(Module *creator) : Command(creator, "operserv/update", 0, 0)
|
||||||
{
|
{
|
||||||
this->SetDesc(_("Force the Services databases to be updated immediately"));
|
this->SetDesc(_("Force the services databases to be updated immediately"));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override
|
||||||
@@ -31,7 +31,7 @@ class CommandOSUpdate : public Command
|
|||||||
{
|
{
|
||||||
this->SendSyntax(source);
|
this->SendSyntax(source);
|
||||||
source.Reply(" ");
|
source.Reply(" ");
|
||||||
source.Reply(_("Causes Services to update all database files as soon as you\n"
|
source.Reply(_("Causes services to update all database files as soon as you\n"
|
||||||
"send the command."));
|
"send the command."));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
using namespace Configuration;
|
using namespace Configuration;
|
||||||
|
|
||||||
File ServicesConf("anope.conf", false); // Services configuration file name
|
File ServicesConf("anope.conf", false); // Configuration file name
|
||||||
Conf *Config = NULL;
|
Conf *Config = NULL;
|
||||||
|
|
||||||
Block::Block(const Anope::string &n) : name(n), linenum(-1)
|
Block::Block(const Anope::string &n) : name(n), linenum(-1)
|
||||||
|
|||||||
+1
-1
@@ -411,7 +411,7 @@ void Anope::Init(int ac, char **av)
|
|||||||
Anope::LogDir = arg;
|
Anope::LogDir = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Chdir to Services data directory. */
|
/* Chdir to Anope data directory. */
|
||||||
if (chdir(Anope::ServicesDir.c_str()) < 0)
|
if (chdir(Anope::ServicesDir.c_str()) < 0)
|
||||||
{
|
{
|
||||||
throw CoreException("Unable to chdir to " + Anope::ServicesDir + ": " + Anope::LastError());
|
throw CoreException("Unable to chdir to " + Anope::ServicesDir + ": " + Anope::LastError());
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/* Services -- main source file.
|
/* Anope -- main source file.
|
||||||
*
|
*
|
||||||
* (C) 2003-2021 Anope Team
|
* (C) 2003-2021 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
|
|||||||
+1
-1
@@ -199,7 +199,7 @@ void Kill::Run(MessageSource &source, const std::vector<Anope::string> ¶ms,
|
|||||||
|
|
||||||
if (last_time == Anope::CurTime)
|
if (last_time == Anope::CurTime)
|
||||||
{
|
{
|
||||||
Anope::QuitReason = "Kill loop detected. Are Services U:Lined?";
|
Anope::QuitReason = "Kill loop detected. Is Anope U:Lined?";
|
||||||
Anope::Quitting = true;
|
Anope::Quitting = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Configuration script for Services
|
# Configuration script for Anope
|
||||||
#
|
#
|
||||||
# (C) 2003-2021 Anope Team
|
# (C) 2003-2021 Anope Team
|
||||||
# Contact us at team@anope.org
|
# Contact us at team@anope.org
|
||||||
|
|||||||
Reference in New Issue
Block a user