mirror of
https://github.com/anope/anope.git
synced 2026-07-07 06:53:13 +02:00
Compare commits
208 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0574de2d22 | |||
| c9c53dbe61 | |||
| a084245822 | |||
| 77e3f062da | |||
| 8bb3067e42 | |||
| 0c469abe4a | |||
| d63e32a579 | |||
| f13c450b93 | |||
| e95c07291a | |||
| 2963fc0a1d | |||
| 5d309d46e1 | |||
| 2e7fcd3098 | |||
| 884759aed4 | |||
| 2ec65023a6 | |||
| 0093f3fa44 | |||
| 2ad76278dd | |||
| 23e59d9f2c | |||
| 3cb9e0b97c | |||
| 0b7b6d9d6d | |||
| 56e6efbe8f | |||
| feed624cdc | |||
| 1a6f42b994 | |||
| 04f49225c9 | |||
| b18d1a69b6 | |||
| 0ace685597 | |||
| bfcfd0b727 | |||
| 087f1cb359 | |||
| 010d20198e | |||
| 953e804231 | |||
| c656fe0694 | |||
| fb3ec7a897 | |||
| 274658f955 | |||
| 7621306f4b | |||
| b804867105 | |||
| f8f1550c31 | |||
| 0fcc66711b | |||
| 8d9574e306 | |||
| 6cb17c734c | |||
| 3545e8e383 | |||
| 3c18e02b0b | |||
| b831cd8a36 | |||
| 516ab164f6 | |||
| b2d028533d | |||
| a88d9cb1f0 | |||
| b57ef5d2c7 | |||
| 1a96390826 | |||
| 60339edf40 | |||
| 6990c692d6 | |||
| 98e62b4032 | |||
| a1d7d42d6a | |||
| 3f7c0829ef | |||
| 46d8af781d | |||
| 67b7c8bd7d | |||
| 21486e2c81 | |||
| 29ac40b584 | |||
| dde444ed0e | |||
| 9b6c209c80 | |||
| 3c7d67c8cd | |||
| c730291762 | |||
| c593661f40 | |||
| a9bf251886 | |||
| beac29b1d0 | |||
| 35d6437d45 | |||
| 76ce8ece1a | |||
| 464093d36e | |||
| 71bb3fefcc | |||
| 1f6f9f5dbb | |||
| 34bf21f7d1 | |||
| 847dfd9523 | |||
| a96e40e249 | |||
| 8656b65e39 | |||
| 39422beaef | |||
| 6d29538346 | |||
| bdf4650ff8 | |||
| 074bde5ccc | |||
| a4f7d847ab | |||
| 5beb338247 | |||
| 7b1154de69 | |||
| 46aeb8b70b | |||
| fe6271dffb | |||
| 7cede5bb60 | |||
| 2b7f0084b7 | |||
| ec7ce09ef4 | |||
| 574c8dfbc7 | |||
| 4381031994 | |||
| b3010c3c6b | |||
| d092f5e7c8 | |||
| 358f46b8ae | |||
| e5125c2c84 | |||
| 65db59b3ec | |||
| 95cd7a6aee | |||
| 12515fd2c1 | |||
| 437a6dbb29 | |||
| d96ca9b824 | |||
| aefde6e44d | |||
| 23a0628fba | |||
| ef9c69f99d | |||
| 8be331618c | |||
| a5fdf7c546 | |||
| dba19d839a | |||
| 7453c71c00 | |||
| f09ea316dd | |||
| ac0f3c5ccf | |||
| 76ea111980 | |||
| 9f9183afc4 | |||
| ef32505633 | |||
| 304494322f | |||
| 9e510cd0d9 | |||
| 0f49d1051a | |||
| 4b97a9b13f | |||
| 07f72a3122 | |||
| f4543edfe2 | |||
| 095751363d | |||
| 1b67b97e93 | |||
| d4bf0957d1 | |||
| 99acdcf168 | |||
| e95950ee26 | |||
| fc0171fb40 | |||
| 1c82697ccb | |||
| f3bb46a9f5 | |||
| 3b62c8f3e2 | |||
| 4d054aa2b2 | |||
| 3a8ff5d456 | |||
| 0b783b66a4 | |||
| 0c7050c506 | |||
| d02b3c1c45 | |||
| d8a945b1a6 | |||
| b50fbec705 | |||
| d488efdcfe | |||
| 13c5eec00a | |||
| 39eb9f8cfc | |||
| 83c2f8e970 | |||
| e23cf0c221 | |||
| de174149f7 | |||
| 663e79e4d3 | |||
| 2a5e7827bd | |||
| 9c0b843665 | |||
| 8fdfa6e094 | |||
| dad4be050b | |||
| 937b0e7185 | |||
| db4f38bcf5 | |||
| c2e09fdaea | |||
| 01768bc73e | |||
| c18eedec18 | |||
| 0e0615c6fe | |||
| 5bd3fde79b | |||
| 647f8cd4e6 | |||
| b2e25db159 | |||
| 9f9371531d | |||
| b578ed2544 | |||
| 0a7f167060 | |||
| d427772bd3 | |||
| b2d670298b | |||
| 6b646fa1f8 | |||
| 72269c44e5 | |||
| 3b2366e4ba | |||
| 257a8a9a24 | |||
| 7a1d2e11dd | |||
| 8dc687b657 | |||
| 18fc113984 | |||
| 20c1a5d638 | |||
| 8000ae0c0f | |||
| 284d95bfe2 | |||
| c7d5ee4bec | |||
| 4c4cc0ded7 | |||
| 83f89bfece | |||
| 7cf4245359 | |||
| 9284441491 | |||
| 7592a6981b | |||
| 56b158ea43 | |||
| 0143dafe51 | |||
| a2dbcc620e | |||
| 9b5fdea8f2 | |||
| fab07d6b75 | |||
| 1d198da436 | |||
| 8b6e17fe7e | |||
| 86484b6c2b | |||
| c14ae99d32 | |||
| cb0cda2f8d | |||
| 2af363755a | |||
| 753b8dc989 | |||
| d2ea1e7917 | |||
| a8f66578b1 | |||
| ca39aeb554 | |||
| a941f9bde0 | |||
| f4f6787c9c | |||
| 82816cb206 | |||
| 58f0c8c612 | |||
| 21e1913c0f | |||
| 79e7c3f98a | |||
| 72127e1b00 | |||
| ed47588087 | |||
| 448967cefc | |||
| 979027138b | |||
| 176e0e4f37 | |||
| b431d4dccf | |||
| 1b12b80b48 | |||
| 52fdc45597 | |||
| 91762524e2 | |||
| 413b38b1c1 | |||
| ecdccd6ad6 | |||
| e0fd118b3e | |||
| c10d7bdada | |||
| 4e2ca31cf5 | |||
| addd2a1987 | |||
| 4071487f80 | |||
| 9c17c2d818 | |||
| dd9fcca45d |
+17
-9
@@ -45,20 +45,20 @@ if(MINOR_VERSION GREATER 5)
|
|||||||
set(CMAKE242_OR_BETTER TRUE)
|
set(CMAKE242_OR_BETTER TRUE)
|
||||||
else(MINOR_VERSION GREATER 5)
|
else(MINOR_VERSION GREATER 5)
|
||||||
set(CMAKE26_OR_BETTER FALSE)
|
set(CMAKE26_OR_BETTER FALSE)
|
||||||
# Also detect if we are using CMake 2.4.8 or better, the FIND sub-command of list() is non-existent in earlier versions
|
# Also detect if we are using CMake 2.4.8 or better, the FIND sub-command of list() is nonexistent in earlier versions
|
||||||
if(PATCH_VERSION GREATER 7)
|
if(PATCH_VERSION GREATER 7)
|
||||||
set(CMAKE248_OR_BETTER TRUE)
|
set(CMAKE248_OR_BETTER TRUE)
|
||||||
set(CMAKE244_OR_BETTER TRUE)
|
set(CMAKE244_OR_BETTER TRUE)
|
||||||
set(CMAKE242_OR_BETTER TRUE)
|
set(CMAKE242_OR_BETTER TRUE)
|
||||||
else(PATCH_VERSION GREATER 7)
|
else(PATCH_VERSION GREATER 7)
|
||||||
set(CMAKE248_OR_BETTER FALSE)
|
set(CMAKE248_OR_BETTER FALSE)
|
||||||
# Also detect if we are using CMake 2.4.4 or better, the CheckCXXCompilerFlag module and SORT sub-command of list() are non-existent in earlier versions
|
# Also detect if we are using CMake 2.4.4 or better, the CheckCXXCompilerFlag module and SORT sub-command of list() are nonexistent in earlier versions
|
||||||
if(PATCH_VERSION GREATER 3)
|
if(PATCH_VERSION GREATER 3)
|
||||||
set(CMAKE244_OR_BETTER TRUE)
|
set(CMAKE244_OR_BETTER TRUE)
|
||||||
set(CMAKE242_OR_BETTER TRUE)
|
set(CMAKE242_OR_BETTER TRUE)
|
||||||
else(PATCH_VERSION GREATER 3)
|
else(PATCH_VERSION GREATER 3)
|
||||||
set(CMAKE244_OR_BETTER FALSE)
|
set(CMAKE244_OR_BETTER FALSE)
|
||||||
# ALSO detect if we are using CMake 2.4.2 or better, the APPEND sub-command of list() is non-existent in earlier versions
|
# ALSO detect if we are using CMake 2.4.2 or better, the APPEND sub-command of list() is nonexistent in earlier versions
|
||||||
if(PATCH_VERSION GREATER 1)
|
if(PATCH_VERSION GREATER 1)
|
||||||
set(CMAKE242_OR_BETTER TRUE)
|
set(CMAKE242_OR_BETTER TRUE)
|
||||||
else(PATCH_VERSION GREATER 1)
|
else(PATCH_VERSION GREATER 1)
|
||||||
@@ -87,6 +87,9 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||||||
if(GCC_VERSION LESS 4.2)
|
if(GCC_VERSION LESS 4.2)
|
||||||
message(FATAL_ERROR "Your compiler is too old to build Anope. Upgrade to GCC 4.2 or newer!")
|
message(FATAL_ERROR "Your compiler is too old to build Anope. Upgrade to GCC 4.2 or newer!")
|
||||||
endif(GCC_VERSION LESS 4.2)
|
endif(GCC_VERSION LESS 4.2)
|
||||||
|
if(GCC_VERSION GREATER 6.0 OR GCC_VERSION EQUAL 6.0)
|
||||||
|
set(CXXFLAGS "${CXXFLAGS} -fno-delete-null-pointer-checks")
|
||||||
|
endif(GCC_VERSION GREATER 6.0 OR GCC_VERSION EQUAL 6.0)
|
||||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
||||||
# If we are using a GNU compiler (have to use CXX because it seems to fail on C), we will be able to determine it's default paths for libraries and includes
|
# If we are using a GNU compiler (have to use CXX because it seems to fail on C), we will be able to determine it's default paths for libraries and includes
|
||||||
@@ -239,6 +242,11 @@ option(USE_PCH "Use precompiled headers" OFF)
|
|||||||
# source include directory so the precompiled headers work correctly.
|
# source include directory so the precompiled headers work correctly.
|
||||||
include_directories(${Anope_BINARY_DIR}/include ${Anope_SOURCE_DIR}/include ${Anope_BINARY_DIR}/language ${Anope_SOURCE_DIR}/modules/pseudoclients)
|
include_directories(${Anope_BINARY_DIR}/include ${Anope_SOURCE_DIR}/include ${Anope_BINARY_DIR}/language ${Anope_SOURCE_DIR}/modules/pseudoclients)
|
||||||
|
|
||||||
|
# Pass on REPRODUCIBLE_BUILD
|
||||||
|
if(REPRODUCIBLE_BUILD)
|
||||||
|
add_definitions(-DREPRODUCIBLE_BUILD)
|
||||||
|
endif(REPRODUCIBLE_BUILD)
|
||||||
|
|
||||||
# If using Windows, always add the _WIN32 define
|
# If using Windows, always add the _WIN32 define
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_definitions(-D_WIN32)
|
add_definitions(-D_WIN32)
|
||||||
@@ -481,16 +489,16 @@ get_target_property(SERVICES_BINARY ${PROGRAM_NAME} LOCATION)
|
|||||||
get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME)
|
get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME)
|
||||||
|
|
||||||
# At install time, create the following additional directories
|
# At install time, create the following additional directories
|
||||||
install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${DB_DIR}/backups\")")
|
install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/backups\")")
|
||||||
install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${LOGS_DIR}\")")
|
install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${LOGS_DIR}\")")
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
install(CODE "file(MAKE_DIRECTORY \"\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/runtime\")")
|
install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${DB_DIR}/runtime\")")
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
# On non-Windows platforms, if RUNGROUP is set, change the permissions of the below directories, as well as the group of the data directory
|
# On non-Windows platforms, if RUNGROUP is set, change the permissions of the below directories, as well as the group of the data directory
|
||||||
if(NOT WIN32 AND RUNGROUP)
|
if(NOT WIN32 AND RUNGROUP)
|
||||||
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/\${DB_DIR}/backups\")")
|
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${DB_DIR}/backups\")")
|
||||||
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/\${LOGS_DIR}\")")
|
install(CODE "execute_process(COMMAND ${CHMOD} 2775 \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/\${LOGS_DIR}\")")
|
||||||
install(CODE "execute_process(COMMAND ${CHGRP} -R ${RUNGROUP} \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}\")")
|
install(CODE "execute_process(COMMAND ${CHGRP} -R ${RUNGROUP} \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}\")")
|
||||||
endif(NOT WIN32 AND RUNGROUP)
|
endif(NOT WIN32 AND RUNGROUP)
|
||||||
# On Windows platforms, install extra files
|
# On Windows platforms, install extra files
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Configuration script for Services.
|
# Configuration script for Services.
|
||||||
#
|
#
|
||||||
# Anope (c) 2003-2016 Anope Team
|
# Anope (c) 2003-2017 Anope Team
|
||||||
# Contact us at team@anope.org
|
# Contact us at team@anope.org
|
||||||
#
|
#
|
||||||
# This program is free but copyrighted software; see the file COPYING for
|
# This program is free but copyrighted software; see the file COPYING for
|
||||||
@@ -94,6 +94,10 @@ Run_Build_System () {
|
|||||||
echo "cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $PCH $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR"
|
echo "cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $PCH $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR"
|
||||||
|
|
||||||
cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $PCH $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR
|
cmake $GEN_TYPE $WITH_INST $WITH_RUN $WITH_PERM $BUILD_TYPE $PCH $EXTRA_INCLUDE $EXTRA_LIBS $EXTRA_CONFIG_ARGS $REAL_SOURCE_DIR
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "You should fix these issues and then run ./Config -quick to rerun CMake."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
if [ "$SOURCE_DIR" = "." ] ; then
|
if [ "$SOURCE_DIR" = "." ] ; then
|
||||||
@@ -166,7 +170,7 @@ done
|
|||||||
# Check for CMake and (optionally) install it
|
# Check for CMake and (optionally) install it
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
which cmake > /dev/null
|
cmake --version 2>&1 > /dev/null
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
clear
|
clear
|
||||||
echo "Anope requires CMake 2.4 or newer, which can be downloaded at http://cmake.org or through your system's package manager."
|
echo "Anope requires CMake 2.4 or newer, which can be downloaded at http://cmake.org or through your system's package manager."
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
## 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).
|
||||||
|
|
||||||
|
* [Website](https://anope.org)
|
||||||
|
* [GitHub](https://github.com/anope)
|
||||||
|
* IRC \#anope on irc.anope.org
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
### Linux/BSD
|
||||||
|
Download the latest release off of the [releases page](https://github.com/anope/anope/releases).
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ./Config
|
||||||
|
$ cd build
|
||||||
|
$ make
|
||||||
|
$ make install
|
||||||
|
```
|
||||||
|
|
||||||
|
Now change to the directory where you installed Anope to, e.g. `$ cd ~/services/`
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
Download the latest release off of the [releases page](https://github.com/anope/anope/releases) and run the installer.
|
||||||
|
|
||||||
|
|
||||||
|
## Configuration
|
||||||
|
|
||||||
|
Copy conf/example.conf to conf/services.conf
|
||||||
|
|
||||||
|
```
|
||||||
|
$ cp conf/example.conf conf/services.conf
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit services.conf, configuring the uplink, serverinfo, and protocol module configurations. Example link blocks for popular IRCds are included in the the example.conf documentation. The [Anope wiki](https://wiki.anope.org) is also a good source of information. Our support channel is located at #anope on [irc.anope.org](irc://irc.anope.org/#anope).
|
||||||
|
|
||||||
|
Note that the example configuration file includes other example configuration files. If you want to modify the other example configuration files, copy them (e.g. `modules.example.conf` to `modules.conf`) and modify the `include` directive in `services.conf` to include the new file.
|
||||||
|
|
||||||
|
## Running
|
||||||
|
|
||||||
|
Run `$ ./bin/services` to start Anope. If asked to provide logs for support, use the `--support` flag, e.g.: `$ ./bin/services --support`
|
||||||
|
|
||||||
|
## Installing extra modules
|
||||||
|
|
||||||
|
Extra modules, which are usually modules which require extra libraries to use, such as m\_mysql, can be enabled with the `./extras` command from the source directory. Then re-run `Config`, `make` and `make install` again. Third party modules can be installed by placing them into the `modules/third` directory.
|
||||||
@@ -1121,9 +1121,6 @@ module
|
|||||||
|
|
||||||
/* Sets the time to keep seen entries in the seen database. */
|
/* Sets the time to keep seen entries in the seen database. */
|
||||||
purgetime = "30d"
|
purgetime = "30d"
|
||||||
|
|
||||||
/* Sets the delay between checks for expired seen entries. */
|
|
||||||
expiretimeout = "1d"
|
|
||||||
}
|
}
|
||||||
command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; }
|
command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; }
|
||||||
|
|
||||||
|
|||||||
+9
-19
@@ -532,7 +532,7 @@ options
|
|||||||
*
|
*
|
||||||
* Note for this to work the regex module providing the regex engine must be loaded.
|
* Note for this to work the regex module providing the regex engine must be loaded.
|
||||||
*/
|
*/
|
||||||
regexengine = "regex/pcre"
|
#regexengine = "regex/pcre"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A list of languages to load on startup that will be available in /nickserv set language.
|
* A list of languages to load on startup that will be available in /nickserv set language.
|
||||||
@@ -784,12 +784,7 @@ log
|
|||||||
* chanserv/drop chanserv/getkey chanserv/invite
|
* chanserv/drop chanserv/getkey chanserv/invite
|
||||||
* chanserv/list chanserv/suspend chanserv/topic
|
* chanserv/list chanserv/suspend chanserv/topic
|
||||||
*
|
*
|
||||||
* chanserv/saset/bantype chanserv/saset/description chanserv/saset/email chanserv/saset/keepmodes
|
* chanserv/saset/noexpire
|
||||||
* chanserv/saset/founder chanserv/saset/keeptopic chanserv/saset/restricted
|
|
||||||
* chanserv/saset/peace chanserv/saset/persist chanserv/saset/private
|
|
||||||
* chanserv/saset/secure chanserv/saset/securefounder chanserv/saset/secureops
|
|
||||||
* chanserv/saset/signkick chanserv/saset/successor chanserv/saset/topiclock
|
|
||||||
* chanserv/saset/url chanserv/saset/noexpire chanserv/saset/autoop
|
|
||||||
*
|
*
|
||||||
* memoserv/sendall memoserv/staff
|
* memoserv/sendall memoserv/staff
|
||||||
*
|
*
|
||||||
@@ -1206,23 +1201,14 @@ module
|
|||||||
* encrypted by this module. Old passwords stored in another encryption method are
|
* encrypted by this module. Old passwords stored in another encryption method are
|
||||||
* automatically re-encrypted by the primary encryption module on next identify.
|
* automatically re-encrypted by the primary encryption module on next identify.
|
||||||
*
|
*
|
||||||
* NOTE: enc_old is Anope's previous (broken) MD5 implementation which is present in
|
* enc_md5, enc_sha1, and enc_old are deprecated, and are provided for users
|
||||||
* versions prior to Anope 1.7.17. If your databases were made using that module,
|
* to upgrade to a newer encryption module. Do not use them as the primary
|
||||||
* use this and not enc_md5.
|
* encryption module. They will be removed in a future release.
|
||||||
*
|
|
||||||
* NOTE: enc_sha1 relies on how the OS stores 2+ byte data internally, and is
|
|
||||||
* potentially broken when moving between 2 different OSes, such as moving from
|
|
||||||
* Linux to Windows. It is recommended that you use enc_sha256 instead if you want
|
|
||||||
* to use an SHA-based encryption. If you choose to do so, it is also recommended
|
|
||||||
* that you first try to get everyone's passwords converted to enc_sha256 before
|
|
||||||
* switching OSes by placing enc_sha256 at the beginning of the list.
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#module { name = "enc_bcrypt" }
|
#module { name = "enc_bcrypt" }
|
||||||
module { name = "enc_sha256" }
|
module { name = "enc_sha256" }
|
||||||
#module { name = "enc_md5" }
|
|
||||||
#module { name = "enc_sha1" }
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When using enc_none, passwords will be stored without encryption. This isn't secure
|
* When using enc_none, passwords will be stored without encryption. This isn't secure
|
||||||
@@ -1230,6 +1216,10 @@ module { name = "enc_sha256" }
|
|||||||
*/
|
*/
|
||||||
#module { name = "enc_none" }
|
#module { name = "enc_none" }
|
||||||
|
|
||||||
|
/* Deprecated encryption modules */
|
||||||
|
#module { name = "enc_md5" }
|
||||||
|
#module { name = "enc_sha1" }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* enc_old is Anope's previous (broken) MD5 implementation used from 1.4.x to 1.7.16.
|
* enc_old is Anope's previous (broken) MD5 implementation used from 1.4.x to 1.7.16.
|
||||||
* If your databases were made using that module, load it here to allow conversion to the primary
|
* If your databases were made using that module, load it here to allow conversion to the primary
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ module { name = "help" }
|
|||||||
*/
|
*/
|
||||||
reason = "You are listed in the efnet RBL, visit http://rbl.efnetrbl.org/?i=%i for info"
|
reason = "You are listed in the efnet RBL, visit http://rbl.efnetrbl.org/?i=%i for info"
|
||||||
|
|
||||||
/* Replies to ban and their reason. If no relies are configured, all replies get banned. */
|
/* Replies to ban and their reason. If no replies are configured, all replies get banned. */
|
||||||
reply
|
reply
|
||||||
{
|
{
|
||||||
code = 1
|
code = 1
|
||||||
@@ -175,7 +175,7 @@ module { name = "help" }
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Exempt localhost from DNSBL checks */
|
/* Exempt localhost from DNSBL checks */
|
||||||
exempt { ip = "127.0.0.1" }
|
exempt { ip = "127.0.0.0/8" }
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -540,25 +540,7 @@ module { name = "help" }
|
|||||||
* authenticating users through this mechanism. Supported mechanisms are:
|
* authenticating users through this mechanism. Supported mechanisms are:
|
||||||
* PLAIN, EXTERNAL.
|
* PLAIN, EXTERNAL.
|
||||||
*/
|
*/
|
||||||
#module { name = "m_sasl" }
|
module { name = "m_sasl" }
|
||||||
|
|
||||||
/*
|
|
||||||
* m_sasl_dh-aes [EXTRA]
|
|
||||||
*
|
|
||||||
* Add the DH-AES mechanism to SASL.
|
|
||||||
* Requires m_sasl to be loaded.
|
|
||||||
* Requires openssl.
|
|
||||||
*/
|
|
||||||
#module { name = "m_sasl_dh-aes" }
|
|
||||||
|
|
||||||
/*
|
|
||||||
* m_sasl_dh-blowfish [EXTRA]
|
|
||||||
*
|
|
||||||
* Add the DH-BLOWFISH mechanism to SASL.
|
|
||||||
* Requires m_sasl to be loaded.
|
|
||||||
* Requires openssl.
|
|
||||||
*/
|
|
||||||
#module { name = "m_sasl_dh-blowfish" }
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* m_ssl_gnutls [EXTRA]
|
* m_ssl_gnutls [EXTRA]
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ module
|
|||||||
* - 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: Services messages will be sent as PRIVMSGs instead of NOTICEs, requires
|
||||||
* options:useprivmsg to be enabled as well
|
* options:useprivmsg to be enabled as well
|
||||||
* - ns_keepmodes: 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.
|
||||||
*
|
*
|
||||||
* This directive is optional, if left blank, the options will default to ns_secure, memo_signon, and
|
* This directive is optional, if left blank, the options will default to ns_secure, memo_signon, and
|
||||||
|
|||||||
+65
-12
@@ -1,4 +1,57 @@
|
|||||||
Anope Version 2.0.3-git
|
Anope Version 2.0.6
|
||||||
|
-------------------
|
||||||
|
Log client IP for web clients running commands via webcpanel
|
||||||
|
Fix log file path for the config file could not be opened log message
|
||||||
|
Allow nickserv/group to be used via XMLRPC
|
||||||
|
Fix logsearch without wildcards
|
||||||
|
Support cidr exempts in m_dnsbl
|
||||||
|
Add support for IPv6 dnsbls
|
||||||
|
Add +u and +L channel modes for ircd-hybrid
|
||||||
|
Set +x after hostserv/off on InspIRCd and UnrealIRCd
|
||||||
|
Fix chanserv/mode not being able to set extbans
|
||||||
|
Send CHGIDENT/CHGHOST on SVSLOGIN on InspIRCd
|
||||||
|
Fix escaping replies from commands in webcpanel
|
||||||
|
Enable require_oper for all opers added via operserv/oper
|
||||||
|
Advertise SASL mechanisms to UnrealIRCd servers
|
||||||
|
|
||||||
|
Anope Version 2.0.5
|
||||||
|
-------------------
|
||||||
|
Fix negative levels to not match users with negative access
|
||||||
|
Fix memo sender to always be the account name of the sender
|
||||||
|
Allow unregistered users to use the ChanServ seen command
|
||||||
|
Fix secureops to not be enforced on operators with the chanserv/administration privilege
|
||||||
|
Fix command name in HELP syntax messages to always be upper case
|
||||||
|
Show unconfirmed nickname messages on registration in webcpanel
|
||||||
|
Fix NickServ SET EMAIL to be executable via XMLRPC
|
||||||
|
Fix OperServ USERLIST/CHANLIST to accept regexes
|
||||||
|
Allow OperServ USERLIST to also match realname syntax (n!u@h#r)
|
||||||
|
Fix db_old importing languages to use the UTF-8 version
|
||||||
|
Fix m_dns to return REFUSED if no answers could be found
|
||||||
|
Fix ns_maxemail to be case insensitive
|
||||||
|
Add MemoServ READ ALL command
|
||||||
|
Add support for NickServ GROUP to be executed via XMLRPC
|
||||||
|
Add support for logging hostname/ip of SASL authentication attempts, if supported by IRCd
|
||||||
|
|
||||||
|
Anope Version 2.0.4
|
||||||
|
-------------------
|
||||||
|
Add notice rpc method to XMLRPC
|
||||||
|
Fix access check in cs_updown to not allow actions on users with equal access
|
||||||
|
Fix randomnews to work when there are more than 'newscount' random news
|
||||||
|
Fix crash from handling nick introduction collisions on unreal4
|
||||||
|
Add support for GCC6
|
||||||
|
Fix handling /join 0 on ratbox
|
||||||
|
Fix saset display to update the account of the proper user
|
||||||
|
Fix nickserv/confirm to send account and +r when appropriate
|
||||||
|
Fix chankill to not add duplicate akills
|
||||||
|
Allow nickserv/maxemail to disregard gmail style aliases when comparing emails
|
||||||
|
Fix chanserv/mode when setting listmodes with CIDR ranges
|
||||||
|
Fix reported expiry time when the time is divisible by 1 year
|
||||||
|
Clearify botserv repeat kicker help and allow setting repeat times to 1
|
||||||
|
Send vident/vhost with SASL login
|
||||||
|
Add support for SASL reauth
|
||||||
|
Fix log and database backup directories to be properly created by the installer
|
||||||
|
|
||||||
|
Anope Version 2.0.3
|
||||||
-------------------
|
-------------------
|
||||||
Add support for UnrealIRCd 4
|
Add support for UnrealIRCd 4
|
||||||
Fix cs_access to respect chanserv/access/list privilege
|
Fix cs_access to respect chanserv/access/list privilege
|
||||||
@@ -16,7 +69,7 @@ Fix crash from unloading regex modules when regex xlines exist
|
|||||||
Fix irc2sql to store away messages
|
Fix irc2sql to store away messages
|
||||||
Add notice method to m_xmlrpc_main
|
Add notice method to m_xmlrpc_main
|
||||||
Fix numerics on InspIRCd from being sent to user UID
|
Fix numerics on InspIRCd from being sent to user UID
|
||||||
Fix +I on InspIRCd to be considered oper only
|
Fix usermode +I on UnrealIRCd to be considered oper only
|
||||||
Fix crash in webcpanel when deleting your own access on a channel
|
Fix crash in webcpanel when deleting your own access on a channel
|
||||||
Fix webcpanel allowing suspended users to login
|
Fix webcpanel allowing suspended users to login
|
||||||
Fix hs_off on InspIRCd to not desync active user host
|
Fix hs_off on InspIRCd to not desync active user host
|
||||||
@@ -69,7 +122,7 @@ Anope Version 2.0.0
|
|||||||
Added irc2sql stats module
|
Added irc2sql stats module
|
||||||
|
|
||||||
Anope Version 1.9.9
|
Anope Version 1.9.9
|
||||||
--------------------
|
-------------------
|
||||||
A Added a better webpanel template, removed the old one
|
A Added a better webpanel template, removed the old one
|
||||||
A Added SQL logging support
|
A Added SQL logging support
|
||||||
A Added Redis database support
|
A Added Redis database support
|
||||||
@@ -81,7 +134,7 @@ F Fixed setting BotServ's default settings in the config
|
|||||||
F Fixed some names of config items, including NickServ's kill protect
|
F Fixed some names of config items, including NickServ's kill protect
|
||||||
|
|
||||||
Anope Version 1.9.8
|
Anope Version 1.9.8
|
||||||
--------------------
|
-------------------
|
||||||
A Ability to configure fantasy commands in the config
|
A Ability to configure fantasy commands in the config
|
||||||
A Add SVSJOIN and SVSPART commands
|
A Add SVSJOIN and SVSPART commands
|
||||||
F Fix "leave" channel log level from not logging
|
F Fix "leave" channel log level from not logging
|
||||||
@@ -93,7 +146,7 @@ F Fix crash in os_forbid with expiring entries
|
|||||||
F Fix several issues with db_sql_live
|
F Fix several issues with db_sql_live
|
||||||
|
|
||||||
Anope Version 1.9.7
|
Anope Version 1.9.7
|
||||||
--------------------
|
-------------------
|
||||||
A Added ability for using regex as patterns for various commands
|
A Added ability for using regex as patterns for various commands
|
||||||
A Extended ability of operserv/akill to also match against nick and realname
|
A Extended ability of operserv/akill to also match against nick and realname
|
||||||
A Added chanserv:require configuration option
|
A Added chanserv:require configuration option
|
||||||
@@ -103,7 +156,7 @@ A Added a web panel
|
|||||||
A db_sql_live now allows all tables to be "live", not just a select few
|
A db_sql_live now allows all tables to be "live", not just a select few
|
||||||
|
|
||||||
Anope Version 1.9.6
|
Anope Version 1.9.6
|
||||||
--------------------
|
-------------------
|
||||||
A Added ability to configure emails sent by services
|
A Added ability to configure emails sent by services
|
||||||
A Added chanserv/up and chanserv/down
|
A Added chanserv/up and chanserv/down
|
||||||
A Added m_proxyscan
|
A Added m_proxyscan
|
||||||
@@ -122,7 +175,7 @@ F Fixed crash in /os oper info
|
|||||||
F Fixed eventfd Config check to work properly on OpenVZ
|
F Fixed eventfd Config check to work properly on OpenVZ
|
||||||
|
|
||||||
Anope Version 1.9.5
|
Anope Version 1.9.5
|
||||||
--------------------
|
-------------------
|
||||||
A Extended LDAP support
|
A Extended LDAP support
|
||||||
A Added os_oper, os_kill, os_forbid, m_statusupdate, cs_sync, and bs_autoassign
|
A Added os_oper, os_kill, os_forbid, m_statusupdate, cs_sync, and bs_autoassign
|
||||||
A Added a new configuration file format
|
A Added a new configuration file format
|
||||||
@@ -140,7 +193,7 @@ F Fixed setting -P on channels with only a botserv bot in it
|
|||||||
F Fixed modemanager complaining about prefixless modes on InspIRCd
|
F Fixed modemanager complaining about prefixless modes on InspIRCd
|
||||||
|
|
||||||
Anope Version 1.9.4
|
Anope Version 1.9.4
|
||||||
--------------------
|
-------------------
|
||||||
A Automatically set channel founder to the user with the highest access if there is no successor
|
A Automatically set channel founder to the user with the highest access if there is no successor
|
||||||
A /chanserv clone command to copy settings from one channel to another.
|
A /chanserv clone command to copy settings from one channel to another.
|
||||||
A /chanserv mode command
|
A /chanserv mode command
|
||||||
@@ -161,7 +214,7 @@ F Some failed logic in /operserv exception that prevents proper exceptions from
|
|||||||
F Fixed the anope_os_sxlines MySQL table and code to work after restarting
|
F Fixed the anope_os_sxlines MySQL table and code to work after restarting
|
||||||
|
|
||||||
Anope Version 1.9.3
|
Anope Version 1.9.3
|
||||||
--------------------
|
-------------------
|
||||||
A Added italics BotServ kicks support
|
A Added italics BotServ kicks support
|
||||||
A Tell users when their nicks expire in /ns glist and /ns info
|
A Tell users when their nicks expire in /ns glist and /ns info
|
||||||
A Added SSL support
|
A Added SSL support
|
||||||
@@ -188,7 +241,7 @@ F Anoperc start/stop to send the globaloncycle global, and fixed anoperc rehash
|
|||||||
F Fixed a potential crash if HostServ or BotServ was disbled
|
F Fixed a potential crash if HostServ or BotServ was disbled
|
||||||
|
|
||||||
Anope Version 1.9.2
|
Anope Version 1.9.2
|
||||||
--------------------
|
-------------------
|
||||||
A K alias to chanserv kick command
|
A K alias to chanserv kick command
|
||||||
A KB alias to chanserv ban command
|
A KB alias to chanserv ban command
|
||||||
A The ability to register empty nonregistered channels
|
A The ability to register empty nonregistered channels
|
||||||
@@ -219,7 +272,7 @@ F ms_rsend to really work
|
|||||||
F SQUITing juped servers on InspIRCd1.2+
|
F SQUITing juped servers on InspIRCd1.2+
|
||||||
|
|
||||||
Anope Version 1.9.1
|
Anope Version 1.9.1
|
||||||
--------------------
|
-------------------
|
||||||
F Don't enforce akick/forbidden/etc.-restrictions on clients on ulined servers.
|
F Don't enforce akick/forbidden/etc.-restrictions on clients on ulined servers.
|
||||||
F Remove modules_unload_all fini + hack that goes with it.
|
F Remove modules_unload_all fini + hack that goes with it.
|
||||||
F Signal handling cleanup.
|
F Signal handling cleanup.
|
||||||
@@ -260,7 +313,7 @@ Provided by Liber <Liber@jasonirc.net> - 2009
|
|||||||
F Support operoverride and such things (stop reversing changes from nonopped people where unnecessary)
|
F Support operoverride and such things (stop reversing changes from nonopped people where unnecessary)
|
||||||
|
|
||||||
Anope Version 1.9.0
|
Anope Version 1.9.0
|
||||||
--------------------
|
-------------------
|
||||||
F Modified compile to use g++
|
F Modified compile to use g++
|
||||||
F Improve protocol modules support (classes, virtual methods, etc)
|
F Improve protocol modules support (classes, virtual methods, etc)
|
||||||
F Move core services to use BotInfo
|
F Move core services to use BotInfo
|
||||||
|
|||||||
+18
-3
@@ -1,4 +1,19 @@
|
|||||||
Anope Version 2.0.3-git
|
Anope Version 2.0.6
|
||||||
|
-------------------
|
||||||
|
Mark enc_md5 and enc_sha1 as deprecated. Their use has been discouraged for years, and they will be removed in a future release.
|
||||||
|
Exempt all of 127.0.0.0/8 from m_dnsbl by default
|
||||||
|
Load m_sasl by default
|
||||||
|
Fix documentation for nickserv default option ns_keep_modes
|
||||||
|
|
||||||
|
Anope Version 2.0.5
|
||||||
|
-------------------
|
||||||
|
No significant changes.
|
||||||
|
|
||||||
|
Anope Version 2.0.4
|
||||||
|
-------------------
|
||||||
|
Removed m_sasl_dh-aes and m_sasl_dh-blowfish
|
||||||
|
|
||||||
|
Anope Version 2.0.3
|
||||||
-------------------
|
-------------------
|
||||||
Add operserv/chankill to default globops log
|
Add operserv/chankill to default globops log
|
||||||
Add ns_identify:maxlogins to limit the max number of concurrent logins per account
|
Add ns_identify:maxlogins to limit the max number of concurrent logins per account
|
||||||
@@ -92,7 +107,7 @@ opertype:commands removed operserv/umode
|
|||||||
operserv:modules removed os_umode
|
operserv:modules removed os_umode
|
||||||
|
|
||||||
Anope Version 1.9.3
|
Anope Version 1.9.3
|
||||||
------------------
|
-------------------
|
||||||
** ADDED CONFIGURATION DIRECTIVES **
|
** ADDED CONFIGURATION DIRECTIVES **
|
||||||
nickserv/auspex privilege added
|
nickserv/auspex privilege added
|
||||||
SSL module added for SSL support
|
SSL module added for SSL support
|
||||||
@@ -126,7 +141,7 @@ networkinfo:logchannel, logbot, logusers, logmaxusers, logchannel, and options:k
|
|||||||
dumpcore because it really didn't do anything
|
dumpcore because it really didn't do anything
|
||||||
|
|
||||||
Anope Version 1.9.2
|
Anope Version 1.9.2
|
||||||
--------------------
|
-------------------
|
||||||
** ADDED CONFIGURATION DIRECTIVES **
|
** ADDED CONFIGURATION DIRECTIVES **
|
||||||
options:enablelogchannel added to auto turn on the logchannel on startup
|
options:enablelogchannel added to auto turn on the logchannel on startup
|
||||||
options:mlock added to configure the default mlock modes on new channels
|
options:mlock added to configure the default mlock modes on new channels
|
||||||
|
|||||||
@@ -91,4 +91,3 @@ Anope DefCon
|
|||||||
|
|
||||||
You might get DefCon support by posting on our online forum, or maybe on
|
You might get DefCon support by posting on our online forum, or maybe on
|
||||||
our #anope channel at /server irc.anope.org.
|
our #anope channel at /server irc.anope.org.
|
||||||
|
|
||||||
|
|||||||
@@ -32,4 +32,3 @@ Anope Internal Events
|
|||||||
|
|
||||||
The "anope_override" identifier is for compatibility with C++11.
|
The "anope_override" identifier is for compatibility with C++11.
|
||||||
Its usage is highly recommended.
|
Its usage is highly recommended.
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
Frequently Asked Questions (FAQ) concerning Anope
|
Frequently Asked Questions (FAQ) concerning Anope
|
||||||
------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
The information in the 1.9 FAQ is subject to change at any
|
The information in the 1.9 FAQ is subject to change at any
|
||||||
moment due to new developments. Please visit our website
|
moment due to new developments. Please visit our website
|
||||||
|
|||||||
@@ -4,4 +4,3 @@ Highlighted News in Anope 1.9
|
|||||||
* Added in live updating SQL and the ability to execute commands through SQL
|
* Added in live updating SQL and the ability to execute commands through SQL
|
||||||
* Re-designed configuration file
|
* Re-designed configuration file
|
||||||
* Code refresh / rewrite into C++
|
* Code refresh / rewrite into C++
|
||||||
|
|
||||||
|
|||||||
+4
-6
@@ -1,7 +1,7 @@
|
|||||||
Anope -- a set of IRC services for IRC networks
|
Anope -- a set of IRC services for IRC networks
|
||||||
-----------------------------------------------
|
-----------------------------------------------
|
||||||
|
|
||||||
Anope is 2003-2016 Anope Team <team@anope.org>.
|
Anope is 2003-2017 Anope Team <team@anope.org>.
|
||||||
Based on Epona 2000-2002 PegSoft <epona@pegsoft.net>.
|
Based on Epona 2000-2002 PegSoft <epona@pegsoft.net>.
|
||||||
Based on Services 1996-1999 Andrew Church <achurch@achurch.org>.
|
Based on Services 1996-1999 Andrew Church <achurch@achurch.org>.
|
||||||
|
|
||||||
@@ -9,8 +9,6 @@ This program is free but copyrighted software; see the file COPYING for
|
|||||||
details.
|
details.
|
||||||
|
|
||||||
Information about Anope may be found at http://www.anope.org/
|
Information about Anope may be found at http://www.anope.org/
|
||||||
Information about Epona may be found at http://www.epona.org/
|
|
||||||
Information about Services may be found at http://www.ircservices.esper.net/
|
|
||||||
|
|
||||||
Table of Contents
|
Table of Contents
|
||||||
-----------------
|
-----------------
|
||||||
@@ -19,7 +17,7 @@ Table of Contents
|
|||||||
3) Installation
|
3) Installation
|
||||||
4) Command Line Options
|
4) Command Line Options
|
||||||
5) Messages Translation
|
5) Messages Translation
|
||||||
6) Contact and Mailing List
|
6) Contact
|
||||||
|
|
||||||
1) Credits
|
1) Credits
|
||||||
|
|
||||||
@@ -111,7 +109,7 @@ Table of Contents
|
|||||||
* Kein <kein-of@yandex.ru> (ru_RU)
|
* Kein <kein-of@yandex.ru> (ru_RU)
|
||||||
* Maik Funke <Han@mefalcon.org> (de_DE)
|
* Maik Funke <Han@mefalcon.org> (de_DE)
|
||||||
* Isaac Fontal <i_fontal@hotmail.com> (es_ES)
|
* Isaac Fontal <i_fontal@hotmail.com> (es_ES)
|
||||||
* Janos Kapitany <sarkanyka@cjbchat.hu> (hu_HU)
|
* Janos Kapitany <sarkanyka@cjbchat.hu> (hu_HU)
|
||||||
* Szymon S'wierkosz <szymek@adres.pl> (pl_PL)
|
* Szymon S'wierkosz <szymek@adres.pl> (pl_PL)
|
||||||
* Christopher N. <saka@epiknet.org> (fr_FR)
|
* Christopher N. <saka@epiknet.org> (fr_FR)
|
||||||
* Yusuf Kurekci <ysfm.20@gmail.com> (tr_TR)
|
* Yusuf Kurekci <ysfm.20@gmail.com> (tr_TR)
|
||||||
@@ -170,7 +168,7 @@ Table of Contents
|
|||||||
|
|
||||||
* Bahamut 1.4.27 or later (including 1.8)
|
* Bahamut 1.4.27 or later (including 1.8)
|
||||||
* Charybdis 3.4 or later
|
* Charybdis 3.4 or later
|
||||||
* Hybrid 8.1 or later
|
* Hybrid 8.2 or later
|
||||||
* InspIRCd 1.2 or 2.0
|
* InspIRCd 1.2 or 2.0
|
||||||
* ngIRCd 19.2 or later
|
* ngIRCd 19.2 or later
|
||||||
* Plexus 3 or later
|
* Plexus 3 or later
|
||||||
|
|||||||
+3
-4
@@ -20,7 +20,6 @@ Anope Bundled Tools
|
|||||||
address. This should generate a log file of what happened when it tried
|
address. This should generate a log file of what happened when it tried
|
||||||
to connect to the SMTP server.
|
to connect to the SMTP server.
|
||||||
|
|
||||||
Credits:
|
Credits:
|
||||||
Originally written by Dominick Meglio <codemastr@unrealircd.com>
|
Originally written by Dominick Meglio <codemastr@unrealircd.com>
|
||||||
Ported to *nix by Trystan Scott Lee <trystan@nomadirc.net>
|
Ported to *nix by Trystan Scott Lee <trystan@nomadirc.net>
|
||||||
|
|
||||||
|
|||||||
@@ -159,4 +159,3 @@ Anope for Windows
|
|||||||
Anope's Windows Installer was made using:
|
Anope's Windows Installer was made using:
|
||||||
|
|
||||||
* NSIS 2.20 <http://nsis.sourceforge.net>
|
* NSIS 2.20 <http://nsis.sourceforge.net>
|
||||||
|
|
||||||
|
|||||||
+17
-1
@@ -3,9 +3,10 @@
|
|||||||
/**
|
/**
|
||||||
* XMLRPC Functions
|
* XMLRPC Functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class AnopeXMLRPC
|
class AnopeXMLRPC
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@@ -114,6 +115,21 @@ class AnopeXMLRPC
|
|||||||
return $this->run("channel", [$channel]);
|
return $this->run("channel", [$channel]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sent a notice to a user.
|
||||||
|
* Returns an array containing channel information, or an array of size one
|
||||||
|
* (just containing the name) if the channel does not exist
|
||||||
|
*
|
||||||
|
* @param $source
|
||||||
|
* @param $target
|
||||||
|
* @param $message
|
||||||
|
* @return array|null
|
||||||
|
*/
|
||||||
|
public function notice($source, $target, $message)
|
||||||
|
{
|
||||||
|
return $this->run("notice", [$source, $target, $message]);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Like channel(), but different.
|
* Like channel(), but different.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -148,12 +148,7 @@ while (1)
|
|||||||
|
|
||||||
if ($input eq "q") {
|
if ($input eq "q") {
|
||||||
if (-e "build/CMakeFiles") {
|
if (-e "build/CMakeFiles") {
|
||||||
if (-e "cmake-bin") {
|
system("cmake", "build/.");
|
||||||
my $cmake_path = `find cmake-bin -name cmake -print0`;
|
|
||||||
system($cmake_path, "build/.");
|
|
||||||
} else {
|
|
||||||
system("cmake", "build/.");
|
|
||||||
}
|
|
||||||
print "\nNow cd build, then run make to build Anope.\n\n";
|
print "\nNow cd build, then run make to build Anope.\n\n";
|
||||||
} else {
|
} else {
|
||||||
print "\nBuild directory not found. You should run ./Config now.\n\n"
|
print "\nBuild directory not found. You should run ./Config now.\n\n"
|
||||||
|
|||||||
+11
-12
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -78,12 +78,7 @@ class CoreExport ChanAccess : public Serializable
|
|||||||
Serialize::Reference<NickCore> nc;
|
Serialize::Reference<NickCore> nc;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef std::multimap<const ChanAccess *, const ChanAccess *> Set;
|
typedef std::vector<ChanAccess *> Path;
|
||||||
/* shows the 'path' taken to determine if an access entry matches a user
|
|
||||||
* .first are access entries checked
|
|
||||||
* .second are access entries which match
|
|
||||||
*/
|
|
||||||
typedef std::pair<Set, Set> Path;
|
|
||||||
|
|
||||||
/* The provider that created this access entry */
|
/* The provider that created this access entry */
|
||||||
AccessProvider *provider;
|
AccessProvider *provider;
|
||||||
@@ -103,12 +98,14 @@ class CoreExport ChanAccess : public Serializable
|
|||||||
void Serialize(Serialize::Data &data) const anope_override;
|
void Serialize(Serialize::Data &data) const anope_override;
|
||||||
static Serializable* Unserialize(Serializable *obj, Serialize::Data &);
|
static Serializable* Unserialize(Serializable *obj, Serialize::Data &);
|
||||||
|
|
||||||
|
static const unsigned int MAX_DEPTH = 4;
|
||||||
|
|
||||||
/** Check if this access entry matches the given user or account
|
/** Check if this access entry matches the given user or account
|
||||||
* @param u The user
|
* @param u The user
|
||||||
* @param nc The account
|
* @param nc The account
|
||||||
* @param p The path to the access object which matches will be put here
|
* @param next Next channel to check if any
|
||||||
*/
|
*/
|
||||||
virtual bool Matches(const User *u, const NickCore *nc, Path &p) const;
|
virtual bool Matches(const User *u, const NickCore *nc, ChannelInfo* &next) const;
|
||||||
|
|
||||||
/** Check if this access entry has the given privilege.
|
/** Check if this access entry has the given privilege.
|
||||||
* @param name The privilege name
|
* @param name The privilege name
|
||||||
@@ -136,13 +133,13 @@ class CoreExport ChanAccess : public Serializable
|
|||||||
/* A group of access entries. This is used commonly, for example with ChannelInfo::AccessFor,
|
/* A group of access entries. This is used commonly, for example with ChannelInfo::AccessFor,
|
||||||
* to show what access a user has on a channel because users can match multiple access entries.
|
* to show what access a user has on a channel because users can match multiple access entries.
|
||||||
*/
|
*/
|
||||||
class CoreExport AccessGroup : public std::vector<ChanAccess *>
|
class CoreExport AccessGroup
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
/* access entries + paths */
|
||||||
|
std::vector<ChanAccess::Path> paths;
|
||||||
/* Channel these access entries are on */
|
/* Channel these access entries are on */
|
||||||
const ChannelInfo *ci;
|
const ChannelInfo *ci;
|
||||||
/* Path from these entries to other entries that they depend on */
|
|
||||||
ChanAccess::Path path;
|
|
||||||
/* Account these entries affect, if any */
|
/* Account these entries affect, if any */
|
||||||
const NickCore *nc;
|
const NickCore *nc;
|
||||||
/* super_admin always gets all privs. founder is a special case where ci->founder == nc */
|
/* super_admin always gets all privs. founder is a special case where ci->founder == nc */
|
||||||
@@ -170,6 +167,8 @@ class CoreExport AccessGroup : public std::vector<ChanAccess *>
|
|||||||
bool operator<(const AccessGroup &other) const;
|
bool operator<(const AccessGroup &other) const;
|
||||||
bool operator>=(const AccessGroup &other) const;
|
bool operator>=(const AccessGroup &other) const;
|
||||||
bool operator<=(const AccessGroup &other) const;
|
bool operator<=(const AccessGroup &other) const;
|
||||||
|
|
||||||
|
inline bool empty() const { return paths.empty(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -246,6 +246,7 @@ class CoreExport IdentifyRequest
|
|||||||
virtual void OnSuccess() = 0;
|
virtual void OnSuccess() = 0;
|
||||||
virtual void OnFail() = 0;
|
virtual void OnFail() = 0;
|
||||||
|
|
||||||
|
Module *GetOwner() const { return owner; }
|
||||||
const Anope::string &GetAccount() const { return account; }
|
const Anope::string &GetAccount() const { return account; }
|
||||||
const Anope::string &GetPassword() const { return password; }
|
const Anope::string &GetPassword() const { return password; }
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -336,7 +336,9 @@ namespace Anope
|
|||||||
template<typename T> class multimap : public std::multimap<string, T, ci::less> { };
|
template<typename T> class multimap : public std::multimap<string, T, ci::less> { };
|
||||||
template<typename T> class hash_map : public TR1NS::unordered_map<string, T, hash_ci, compare> { };
|
template<typename T> class hash_map : public TR1NS::unordered_map<string, T, hash_ci, compare> { };
|
||||||
|
|
||||||
|
#ifndef REPRODUCIBLE_BUILD
|
||||||
static const char *const compiled = __TIME__ " " __DATE__;
|
static const char *const compiled = __TIME__ " " __DATE__;
|
||||||
|
#endif
|
||||||
|
|
||||||
/** The time Anope started.
|
/** The time Anope started.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2011 Adam <Adam@anope.org>
|
* (C) 2008-2011 Adam <Adam@anope.org>
|
||||||
* (C) 2008-2016 Anope Team <team@anope.org>
|
* (C) 2008-2017 Anope Team <team@anope.org>
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
|
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
|
||||||
* (C) 2008-2016 Anope Team <team@anope.org>
|
* (C) 2008-2017 Anope Team <team@anope.org>
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+4
-2
@@ -1,6 +1,6 @@
|
|||||||
/* Channel support
|
/* Channel support
|
||||||
*
|
*
|
||||||
* (C) 2008-2016 Anope Team
|
* (C) 2008-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -60,7 +60,7 @@ class CoreExport Channel : public Base, public Extensible
|
|||||||
Anope::string topic;
|
Anope::string topic;
|
||||||
/* Who set the topic */
|
/* Who set the topic */
|
||||||
Anope::string topic_setter;
|
Anope::string topic_setter;
|
||||||
/* The timestamp associated with the topic. Not necessarually anywhere close to Anope::CurTime.
|
/* The timestamp associated with the topic. Not necessarily anywhere close to Anope::CurTime.
|
||||||
* This is the time the topic was *originally set*. When we restore the topic we want to change the TS back
|
* This is the time the topic was *originally set*. When we restore the topic we want to change the TS back
|
||||||
* to this, but we can only do this on certain IRCds.
|
* to this, but we can only do this on certain IRCds.
|
||||||
*/
|
*/
|
||||||
@@ -302,6 +302,8 @@ class CoreExport Channel : public Base, public Extensible
|
|||||||
*/
|
*/
|
||||||
static Channel *FindOrCreate(const Anope::string &name, bool &created, time_t ts = Anope::CurTime);
|
static Channel *FindOrCreate(const Anope::string &name, bool &created, time_t ts = Anope::CurTime);
|
||||||
|
|
||||||
|
void QueueForDeletion();
|
||||||
|
|
||||||
static void DeleteChannels();
|
static void DeleteChannels();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -1,6 +1,6 @@
|
|||||||
/* Declarations for command data.
|
/* Declarations for command data.
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -59,6 +59,8 @@ class CoreExport CommandSource
|
|||||||
public:
|
public:
|
||||||
/* The account executing the command */
|
/* The account executing the command */
|
||||||
Reference<NickCore> nc;
|
Reference<NickCore> nc;
|
||||||
|
/* for web clients */
|
||||||
|
Anope::string ip;
|
||||||
/* Where the reply should go */
|
/* Where the reply should go */
|
||||||
CommandReply *reply;
|
CommandReply *reply;
|
||||||
/* Channel the command was executed on (fantasy) */
|
/* Channel the command was executed on (fantasy) */
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -78,6 +78,7 @@ namespace Configuration
|
|||||||
File(const Anope::string &, bool);
|
File(const Anope::string &, bool);
|
||||||
~File();
|
~File();
|
||||||
const Anope::string &GetName() const;
|
const Anope::string &GetName() const;
|
||||||
|
Anope::string GetPath() const;
|
||||||
|
|
||||||
bool IsOpen() const;
|
bool IsOpen() const;
|
||||||
bool Open();
|
bool Open();
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2002-2011 InspIRCd Development Team
|
* (C) 2002-2011 InspIRCd Development Team
|
||||||
* (C) 2009-2016 Anope Team <team@anope.org>
|
* (C) 2009-2017 Anope Team <team@anope.org>
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2016 Anope Team
|
* (C) 2008-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
class CoreExport Memo : public Serializable
|
class CoreExport Memo : public Serializable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
MemoInfo *mi;
|
||||||
bool unread;
|
bool unread;
|
||||||
bool receipt;
|
bool receipt;
|
||||||
Memo();
|
Memo();
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,7 @@
|
|||||||
/* Mode support
|
/* Mode support
|
||||||
*
|
*
|
||||||
* (C) 2008-2011 Adam <Adam@anope.org>
|
* (C) 2008-2011 Adam <Adam@anope.org>
|
||||||
* (C) 2008-2016 Anope Team <team@anope.org>
|
* (C) 2008-2017 Anope Team <team@anope.org>
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
*/
|
*/
|
||||||
@@ -395,6 +395,7 @@ class CoreExport Entry
|
|||||||
Anope::string mask;
|
Anope::string mask;
|
||||||
public:
|
public:
|
||||||
unsigned short cidr_len;
|
unsigned short cidr_len;
|
||||||
|
int family;
|
||||||
Anope::string nick, user, host, real;
|
Anope::string nick, user, host, real;
|
||||||
|
|
||||||
/** Constructor
|
/** Constructor
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+7
-1
@@ -1,6 +1,6 @@
|
|||||||
/* Modular support
|
/* Modular support
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -301,6 +301,11 @@ class CoreExport Module : public Extensible
|
|||||||
* before they will be called.
|
* before they will be called.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** Called on startup after database load, but before
|
||||||
|
* connecting to the uplink.
|
||||||
|
*/
|
||||||
|
virtual void OnPostInit() { throw NotImplementedException(); }
|
||||||
|
|
||||||
/** Called before a user has been kicked from a channel.
|
/** Called before a user has been kicked from a channel.
|
||||||
* @param source The kicker
|
* @param source The kicker
|
||||||
* @param cu The user, channel, and status of the user being kicked
|
* @param cu The user, channel, and status of the user being kicked
|
||||||
@@ -1099,6 +1104,7 @@ class CoreExport Module : public Extensible
|
|||||||
|
|
||||||
enum Implementation
|
enum Implementation
|
||||||
{
|
{
|
||||||
|
I_OnPostInit,
|
||||||
I_OnPreUserKicked, I_OnUserKicked, I_OnReload, I_OnPreBotAssign, I_OnBotAssign, I_OnBotUnAssign, I_OnUserConnect,
|
I_OnPreUserKicked, I_OnUserKicked, I_OnReload, I_OnPreBotAssign, I_OnBotAssign, I_OnBotUnAssign, I_OnUserConnect,
|
||||||
I_OnNewServer, I_OnUserNickChange, I_OnPreHelp, I_OnPostHelp, I_OnPreCommand, I_OnPostCommand, I_OnSaveDatabase,
|
I_OnNewServer, I_OnUserNickChange, I_OnPreHelp, I_OnPostHelp, I_OnPreCommand, I_OnPostCommand, I_OnSaveDatabase,
|
||||||
I_OnLoadDatabase, I_OnEncrypt, I_OnDecrypt, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBadWordAdd,
|
I_OnLoadDatabase, I_OnEncrypt, I_OnDecrypt, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBadWordAdd,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* ChanServ core functions
|
/* ChanServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* ChanServ core functions
|
/* ChanServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2012-2016 Anope Team
|
* (C) 2012-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -228,6 +228,9 @@ namespace HTTPUtils
|
|||||||
case '"':
|
case '"':
|
||||||
dst += """;
|
dst += """;
|
||||||
break;
|
break;
|
||||||
|
case '&':
|
||||||
|
dst += "&";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
dst += src[i];
|
dst += src[i];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* NickServ core functions
|
/* NickServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -45,6 +45,8 @@ class ForbidService : public Service
|
|||||||
|
|
||||||
virtual ForbidData *FindForbid(const Anope::string &mask, ForbidType type) = 0;
|
virtual ForbidData *FindForbid(const Anope::string &mask, ForbidType type) = 0;
|
||||||
|
|
||||||
|
virtual ForbidData *FindForbidExact(const Anope::string &mask, ForbidType type) = 0;
|
||||||
|
|
||||||
virtual std::vector<ForbidData *> GetForbids() = 0;
|
virtual std::vector<ForbidData *> GetForbids() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* OperServ ignore interface
|
/* OperServ ignore interface
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2011-2016 Anope Team
|
* (C) 2011-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -58,6 +58,8 @@ namespace Redis
|
|||||||
public:
|
public:
|
||||||
Provider(Module *c, const Anope::string &n) : Service(c, "Redis::Provider", n) { }
|
Provider(Module *c, const Anope::string &n) : Service(c, "Redis::Provider", n) { }
|
||||||
|
|
||||||
|
virtual bool IsSocketDead() = 0;
|
||||||
|
|
||||||
virtual void SendCommand(Interface *i, const std::vector<Anope::string> &cmds) = 0;
|
virtual void SendCommand(Interface *i, const std::vector<Anope::string> &cmds) = 0;
|
||||||
virtual void SendCommand(Interface *i, const Anope::string &str) = 0;
|
virtual void SendCommand(Interface *i, const Anope::string &str) = 0;
|
||||||
|
|
||||||
|
|||||||
+17
-5
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2014-2016 Anope Team
|
* (C) 2014-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -46,6 +46,7 @@ namespace SASL
|
|||||||
{
|
{
|
||||||
time_t created;
|
time_t created;
|
||||||
Anope::string uid;
|
Anope::string uid;
|
||||||
|
Anope::string hostname, ip;
|
||||||
Reference<Mechanism> mech;
|
Reference<Mechanism> mech;
|
||||||
|
|
||||||
Session(Mechanism *m, const Anope::string &u) : created(Anope::CurTime), uid(u), mech(m) { }
|
Session(Mechanism *m, const Anope::string &u) : created(Anope::CurTime), uid(u), mech(m) { }
|
||||||
@@ -76,9 +77,10 @@ namespace SASL
|
|||||||
class IdentifyRequest : public ::IdentifyRequest
|
class IdentifyRequest : public ::IdentifyRequest
|
||||||
{
|
{
|
||||||
Anope::string uid;
|
Anope::string uid;
|
||||||
|
Anope::string hostname, ip;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IdentifyRequest(Module *m, const Anope::string &id, const Anope::string &acc, const Anope::string &pass) : ::IdentifyRequest(m, acc, pass), uid(id) { }
|
IdentifyRequest(Module *m, const Anope::string &id, const Anope::string &acc, const Anope::string &pass, const Anope::string &h, const Anope::string &i) : ::IdentifyRequest(m, acc, pass), uid(id), hostname(h), ip(i) { }
|
||||||
|
|
||||||
void OnSuccess() anope_override
|
void OnSuccess() anope_override
|
||||||
{
|
{
|
||||||
@@ -86,7 +88,7 @@ namespace SASL
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
NickAlias *na = NickAlias::Find(GetAccount());
|
NickAlias *na = NickAlias::Find(GetAccount());
|
||||||
if (!na || na->nc->HasExt("NS_SUSPENDED"))
|
if (!na || na->nc->HasExt("NS_SUSPENDED") || na->nc->HasExt("UNCONFIRMED"))
|
||||||
return OnFail();
|
return OnFail();
|
||||||
|
|
||||||
unsigned int maxlogins = Config->GetModule("ns_identify")->Get<unsigned int>("maxlogins");
|
unsigned int maxlogins = Config->GetModule("ns_identify")->Get<unsigned int>("maxlogins");
|
||||||
@@ -96,7 +98,11 @@ namespace SASL
|
|||||||
Session *s = sasl->GetSession(uid);
|
Session *s = sasl->GetSession(uid);
|
||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
Log(Config->GetClient("NickServ"), "sasl") << "A user identified to account " << this->GetAccount() << " using SASL";
|
Anope::string user = "A user";
|
||||||
|
if (!hostname.empty() && !ip.empty())
|
||||||
|
user = hostname + " (" + ip + ")";
|
||||||
|
|
||||||
|
Log(this->GetOwner(), "sasl", Config->GetClient("NickServ")) << user << " identified to account " << this->GetAccount() << " using SASL";
|
||||||
sasl->Succeed(s, na->nc);
|
sasl->Succeed(s, na->nc);
|
||||||
delete s;
|
delete s;
|
||||||
}
|
}
|
||||||
@@ -120,8 +126,14 @@ namespace SASL
|
|||||||
accountstatus = "nonexistent ";
|
accountstatus = "nonexistent ";
|
||||||
else if (na->nc->HasExt("NS_SUSPENDED"))
|
else if (na->nc->HasExt("NS_SUSPENDED"))
|
||||||
accountstatus = "suspended ";
|
accountstatus = "suspended ";
|
||||||
|
else if (na->nc->HasExt("UNCONFIRMED"))
|
||||||
|
accountstatus = "unconfirmed ";
|
||||||
|
|
||||||
Log(Config->GetClient("NickServ"), "sasl") << "A user failed to identify for " << accountstatus << "account " << this->GetAccount() << " using SASL";
|
Anope::string user = "A user";
|
||||||
|
if (!hostname.empty() && !ip.empty())
|
||||||
|
user = hostname + " (" + ip + ")";
|
||||||
|
|
||||||
|
Log(this->GetOwner(), "sasl", Config->GetClient("NickServ")) << user << " failed to identify for " << accountstatus << "account " << this->GetAccount() << " using SASL";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2010-2016 Anope Team
|
* (C) 2010-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2010-2016 Anope Team
|
* (C) 2010-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
|
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
|
||||||
* (C) 2008-2016 Anope Team <team@anope.org>
|
* (C) 2008-2017 Anope Team <team@anope.org>
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+5
-4
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -196,8 +196,8 @@ class CoreExport IRCDProto : public Service
|
|||||||
*/
|
*/
|
||||||
virtual void SendConnect() = 0;
|
virtual void SendConnect() = 0;
|
||||||
|
|
||||||
/** Called right before we begin our burst, after we have handshaked successfully with the uplink/
|
/** Called right before we begin our burst, after we have handshaked successfully with the uplink.
|
||||||
* At this point none of our servesr, users, or channels exist on the uplink
|
* At this point none of our servers, users, or channels exist on the uplink
|
||||||
*/
|
*/
|
||||||
virtual void SendBOB() { }
|
virtual void SendBOB() { }
|
||||||
virtual void SendEOB() { }
|
virtual void SendEOB() { }
|
||||||
@@ -227,8 +227,9 @@ class CoreExport IRCDProto : public Service
|
|||||||
*/
|
*/
|
||||||
virtual void SendOper(User *u);
|
virtual void SendOper(User *u);
|
||||||
|
|
||||||
|
virtual void SendSASLMechanisms(std::vector<Anope::string> &) { }
|
||||||
virtual void SendSASLMessage(const SASL::Message &) { }
|
virtual void SendSASLMessage(const SASL::Message &) { }
|
||||||
virtual void SendSVSLogin(const Anope::string &uid, const Anope::string &acc) { }
|
virtual void SendSVSLogin(const Anope::string &uid, const Anope::string &acc, const Anope::string &vident, const Anope::string &vhost) { }
|
||||||
|
|
||||||
virtual bool IsNickValid(const Anope::string &);
|
virtual bool IsNickValid(const Anope::string &);
|
||||||
virtual bool IsChannelValid(const Anope::string &);
|
virtual bool IsChannelValid(const Anope::string &);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2016 Anope Team
|
* (C) 2008-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+10
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -38,6 +38,10 @@ union CoreExport sockaddrs
|
|||||||
*/
|
*/
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
|
/** Get address family.
|
||||||
|
*/
|
||||||
|
int family() const;
|
||||||
|
|
||||||
/** Get the size of the sockaddr we represent
|
/** Get the size of the sockaddr we represent
|
||||||
* @return The size
|
* @return The size
|
||||||
*/
|
*/
|
||||||
@@ -53,6 +57,11 @@ union CoreExport sockaddrs
|
|||||||
*/
|
*/
|
||||||
Anope::string addr() const;
|
Anope::string addr() const;
|
||||||
|
|
||||||
|
/** Get the reverse address represented by this addr
|
||||||
|
* @return The reverse address
|
||||||
|
*/
|
||||||
|
Anope::string reverse() const;
|
||||||
|
|
||||||
/* Is this address ipv6? */
|
/* Is this address ipv6? */
|
||||||
bool ipv6() const;
|
bool ipv6() const;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* Timer include stuff.
|
/* Timer include stuff.
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+4
-5
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
|
* (C) 2008-2011 Robin Burchell <w00t@inspircd.org>
|
||||||
* (C) 2003-2016 Anope Team <team@anope.org>
|
* (C) 2003-2017 Anope Team <team@anope.org>
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
*
|
*
|
||||||
@@ -347,10 +347,9 @@ class CoreExport User : public virtual Base, public Extensible, public CommandRe
|
|||||||
|
|
||||||
/* Returns a mask that will most likely match any address the
|
/* Returns a mask that will most likely match any address the
|
||||||
* user will have from that location. For IP addresses, wildcards the
|
* user will have from that location. For IP addresses, wildcards the
|
||||||
* appropriate subnet mask (e.g. 35.1.1.1 -> 35.*; 128.2.1.1 -> 128.2.*);
|
* last octet (e.g. 35.1.1.1 -> 35.1.1.*). for named addresses, wildcards
|
||||||
* for named addresses, wildcards the leftmost part of the name unless the
|
* the leftmost part of the name unless the name only contains two parts.
|
||||||
* name only contains two parts. If the username begins with a ~, delete
|
* If the username begins with a ~, replace with *.
|
||||||
* it.
|
|
||||||
*/
|
*/
|
||||||
Anope::string Mask() const;
|
Anope::string Mask() const;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/* Build bumper
|
/* Build bumper
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2008-2016 Anope Team
|
* (C) 2008-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
+716
-691
File diff suppressed because it is too large
Load Diff
+716
-706
File diff suppressed because it is too large
Load Diff
+719
-709
File diff suppressed because it is too large
Load Diff
+727
-696
File diff suppressed because it is too large
Load Diff
+722
-707
File diff suppressed because it is too large
Load Diff
+1049
-1160
File diff suppressed because it is too large
Load Diff
+715
-692
File diff suppressed because it is too large
Load Diff
+722
-704
File diff suppressed because it is too large
Load Diff
+534
-507
File diff suppressed because it is too large
Load Diff
+717
-691
File diff suppressed because it is too large
Load Diff
+716
-692
File diff suppressed because it is too large
Load Diff
+716
-692
File diff suppressed because it is too large
Load Diff
+716
-691
File diff suppressed because it is too large
Load Diff
@@ -167,4 +167,3 @@ endmacro(build_subdir)
|
|||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
build_modules(${CMAKE_CURRENT_SOURCE_DIR})
|
build_modules(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
@@ -393,7 +393,7 @@ class CommandBSBadwords : public Command
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!source.AccessFor(ci).HasPriv("BADWORDS") && (!need_args || !source.HasPriv("botserv/administration")))
|
if (!source.AccessFor(ci).HasPriv("BADWORDS") && !source.HasPriv("botserv/administration"))
|
||||||
{
|
{
|
||||||
source.Reply(ACCESS_DENIED);
|
source.Reply(ACCESS_DENIED);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* BotServ core functions
|
/* BotServ core functions
|
||||||
*
|
*
|
||||||
* (C) 2003-2016 Anope Team
|
* (C) 2003-2017 Anope Team
|
||||||
* Contact us at team@anope.org
|
* Contact us at team@anope.org
|
||||||
*
|
*
|
||||||
* Please read COPYING and README for further details.
|
* Please read COPYING and README for further details.
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user