1
0
mirror of https://github.com/anope/anope.git synced 2026-06-16 05:24:47 +02:00

Compare commits

...

13 Commits

Author SHA1 Message Date
Sadie Powell 997302f861 Release 2.0.18. 2025-05-08 15:01:58 +01:00
Sadie Powell b3b6e9f862 Update the change log. 2025-05-08 14:59:37 +01:00
Sadie Powell d23bfb0113 Fix being able to group guest nicknames.
This does not affect 2.1 because grouped nicknames work differently
on that branch.

Reported by @ValwareIRC.
2025-05-08 14:51:56 +01:00
Sadie Powell 151f9c2bcc Backport the Windows CI runner to 2.0.
[skip ubuntu ci]
2025-04-18 18:24:29 +01:00
Sadie Powell b9acaa6d51 Ask people to file PRs on GitHub as well as emailing team@. 2025-04-15 10:05:51 +01:00
Sadie Powell c6065ff0f3 Update the change log. 2025-04-02 23:00:12 +01:00
Sadie Powell a5aae4f41d Fix building in a post-CMP0082 world. 2025-04-02 23:00:12 +01:00
Sadie Powell 0b36ddfaf3 Fix building on old versions of RHEL. 2025-04-02 09:58:49 +01:00
Sadie Powell 947ddc9e1b Fix building on CMake 4.
This is a partial backport from 2.1.
2025-04-02 09:53:10 +01:00
Sadie Powell 43dc6f7509 Fix ns_maxemail miscounting email addresses in some cases. 2025-03-22 20:19:50 +00:00
Sadie Powell 883367c1d2 Fix importing some data from 1.8. 2025-03-12 00:33:41 +00:00
Sadie Powell 7f2c281121 Fix a compiler warning on newer versions of MSVC. 2025-03-03 22:46:12 +00:00
Robby b448a20f40 Update the dutch language file. 2025-02-23 04:22:33 +01:00
16 changed files with 215 additions and 132 deletions
+66
View File
@@ -0,0 +1,66 @@
name: Windows CI
on:
pull_request:
push:
release:
types:
- published
jobs:
build:
if: "!contains(github.event.head_commit.message, '[skip windows ci]')"
runs-on: windows-2025
env:
BUILD_TYPE: ${{ github.event_name == 'release' && 'Release' || 'Debug' }}
CONAN_USER_HOME: ${{ github.workspace }}/win/build
CONAN_USER_HOME_SHORT: None
steps:
- uses: actions/checkout@v4
- name: Setup NSIS
run: |-
choco install nsis
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Setup Conan
uses: turtlebrowser/get-conan@v1.2
with:
version: 1.66.0
- name: Try to restore libraries from the cache
uses: actions/cache/restore@v4
id: library-cache
with:
key: conan-${{ hashFiles('src/win32/conanfile.txt') }}
path: ${{ env.CONAN_USER_HOME }}/.conan
- name: Install libraries
run: |
conan install ${{ github.workspace }}\src\win32 --build=missing
- name: Save libraries to the cache
if: ${{ steps.library-cache.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v4
with:
key: ${{ steps.library-cache.outputs.cache-primary-key }}
path: ${{ env.CONAN_USER_HOME }}/.conan
- name: Run CMake
run: |
mkdir ${{ github.workspace }}\build
cd ${{ github.workspace }}\build
cmake -A x64 -D "CMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}" -G "Visual Studio 17 2022" ..
- name: Build Anope
working-directory: ${{ github.workspace }}\build
run: |
msbuild PACKAGE.vcxproj /M:5 /P:Configuration=${{ env.BUILD_TYPE }} /P:Platform=x64 /VERBOSITY:MINIMAL
- name: Upload installer
if: "${{ github.event_name == 'release' }}"
working-directory: ${{ github.workspace }}\build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ github.event.release.tag_name }} $(Get-ChildItem anope-*.exe)
+11 -20
View File
@@ -1,14 +1,5 @@
# This usage of CMake requires at least version 2.4 (checks are made to determine what to use when certain versions lack functions)
cmake_minimum_required(VERSION 2.4 FATAL_ERROR)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
if(POLICY CMP0026)
cmake_policy(SET CMP0026 OLD)
endif(POLICY CMP0026)
if(POLICY CMP0007)
cmake_policy(SET CMP0007 OLD)
endif(POLICY CMP0007)
endif(COMMAND cmake_policy)
cmake_minimum_required(VERSION 2.4...3.20 FATAL_ERROR)
# Set the project as C++ primarily, but have C enabled for the checks required later
project(Anope CXX)
@@ -422,7 +413,6 @@ read_from_file(${Anope_SOURCE_DIR}/src/version.sh "^VERSION_" VERSIONS)
# Iterate through the strings found
foreach(VERSION_STR ${VERSIONS})
string(REGEX REPLACE "^VERSION_([A-Z]+)=\"?([^\"]*)\"?$" "\\1;\\2" VERSION_OUT ${VERSION_STR})
# Depends on CMP0007 OLD
list(LENGTH VERSION_OUT VERSION_LEN)
list(GET VERSION_OUT 0 VERSION_TYPE)
if(${VERSION_LEN} GREATER 1)
@@ -479,16 +469,8 @@ if(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR})
endif(MSVC)
endif(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR})
# Go into the following directories and run their CMakeLists.txt as well
add_subdirectory(data)
add_subdirectory(docs)
add_subdirectory(language)
add_subdirectory(src)
add_subdirectory(modules)
add_subdirectory(include)
# Get the filename of the Anope binary, to use later
get_target_property(SERVICES_BINARY ${PROGRAM_NAME} LOCATION)
set(SERVICES_BINARY "$<TARGET_FILE:${PROGRAM_NAME}>")
get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME)
# At install time, create the following additional directories
@@ -556,3 +538,12 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
set(CPACK_MONOLITHIC_INSTALL TRUE)
include(CPack)
endif(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
# Go into the following directories and run their CMakeLists.txt as well
add_subdirectory(data)
add_subdirectory(docs)
add_subdirectory(language)
add_subdirectory(src)
add_subdirectory(modules)
add_subdirectory(include)
+1 -1
View File
@@ -408,7 +408,7 @@ macro(calculate_depends SRC)
else(FOUND_${FILENAME}_INCLUDE)
# XXX
if(NOT ${FILENAME} STREQUAL "libintl.h")
message(FATAL_ERROR "${SRC} needs header file ${FILENAME} but we were unable to locate that header file! Check that the header file is within the search path of your OS.")
message(WARNING "${SRC} needs header file ${FILENAME} but we were unable to locate that header file! Check that the header file is within the search path of your OS.")
endif(NOT ${FILENAME} STREQUAL "libintl.h")
endif(FOUND_${FILENAME}_INCLUDE)
endif(CHECK_ANGLE_INCLUDES)
+13 -3
View File
@@ -1,6 +1,16 @@
Anope Version 2.0.18-git
------------------------
No significant changes.
Anope Version 2.0.18
--------------------
Backported better sendmail error messages from 2.1.
Backported the Windows CI fom 2.1.
Fixed a CMake error when it encounters a hard to parse header file.
Fixed being able to group guest nicknames.
Fixed building Anope with CMake 4.
Fixed compatibility with MariaDB.
Fixed counting email addresses in ns_maxemail.
Fixed importing user ICQ and URL data from 1.8.
Fixed operserv/ignore not being prioritised first.
Fixed resetting the stats with operserv/stats.
Updated the Dutch translation.
Anope Version 2.0.17
--------------------
+2 -2
View File
@@ -1,5 +1,5 @@
Anope Version 2.0.18-git
------------------------
Anope Version 2.0.18
--------------------
No significant changes.
Anope Version 2.0.17
+3 -4
View File
@@ -34,10 +34,9 @@ Anope Multi Language Support
Poedit (https://poedit.net/) is a popular po file editor, and we recommend using it or another editor designed to edit
po files (especially on Windows).
If you have finished a language file translation and you want others to use it, please send it to team@anope.org
(don't forget to mention clearly your (nick)name, your e-mail and the language name). You'll of course get full credit for it.
NOTE: There is no guarantee we will use your work so please do not be offended if we say no thanks.
If you have finished a language file translation and you want others to use it, please file a pull request on GitHub
or send it to team@anope.org (don't forget to mention clearly your (nick)name, your email and the language name).
You'll of course get full credit for it.
3) Using languages with modules
+1 -1
View File
@@ -3,7 +3,7 @@ set_source_files_properties(version.cpp PROPERTIES LANGUAGE CXX COMPILE_FLAGS "$
# Generate version-bin executable to modify version.h, setting it's linker flags as well
add_executable(version-bin version.cpp)
set_target_properties(version-bin PROPERTIES LINKER_LANGUAGE CXX LINK_FLAGS "${LDFLAGS}")
get_target_property(version_BINARY version-bin LOCATION)
set(version_BINARY "$<TARGET_FILE:version-bin>")
# Modify version.h from the above executable, with dependencies to version.cpp
# and all of the source files in the main build
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.h ${CMAKE_CURRENT_BINARY_DIR}/build.h
+87 -87
View File
@@ -1,14 +1,14 @@
# Anope IRC Services language file
# Copyright (C) 2013-2024
# Copyright (C) 2013-2025
# This file is distributed under the same license as the Anope IRC Services package.
# Robby <robby@chatbelgie.be>, 2013-2024.
# Robby <robby@chatbelgie.be>, 2013-2025.
#
msgid ""
msgstr ""
"Project-Id-Version: Anope\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-30 03:35+0100\n"
"PO-Revision-Date: 2024-01-31 05:26+0100\n"
"POT-Creation-Date: 2025-02-22 19:28+0100\n"
"PO-Revision-Date: 2025-02-23 03:19+0100\n"
"Last-Translator: Robby <robby@chatbelgie.be>\n"
"Language-Team: Dutch\n"
"Language: nl_NL\n"
@@ -123,7 +123,7 @@ msgid ""
msgstr ""
"%s stelt je in staat een account te registreren.\n"
"De volgende commando's kunnen gebruikt worden voor registratie en\n"
"onderhoud van logins; om ze te gebruiken, typ %s%s commando.\n"
"onderhoud van accounts; om ze te gebruiken, typ %s%s commando.\n"
"Voor meer informatie over een specifiek commando, typ\n"
"%s%s %s commando.\n"
@@ -139,7 +139,7 @@ msgid ""
msgstr ""
"%s stelt je in staat om kanalen te registreren en er\n"
"verschillende opties van in te stellen. %s kan vaak\n"
"voorkomen dat boosaardige gebruikers een kanaal \"overnemen\"\n"
"voorkomen dat kwaadaardige gebruikers een kanaal \"overnemen\"\n"
"door te limiteren wie er op het kanaal operator mag zijn.\n"
"Beschikbare commando's staan hier beneden; om ze te gebruiken,\n"
"typ %s%s commando. Voor meer informatie over een\n"
@@ -1716,10 +1716,10 @@ msgstr ""
"informeren dat je hun memo gelezen hebt."
msgid "A vHost ident must be in the format of a valid ident."
msgstr "Een vHost ident moet in het formaat van een geldige ident zijn."
msgstr "Een vident moet in het formaat van een geldige ident zijn."
msgid "A vHost must be in the format of a valid hostname."
msgstr "Een vHost moet in het formaat van een geldige host zijn."
msgstr "Een vhost moet in het formaat van een geldige host zijn."
msgid "ADD expiry {nick|mask} [reason]"
msgstr "ADD verlooptijd {nick|masker} [reden]"
@@ -1820,20 +1820,20 @@ msgid "Activate security features"
msgstr "Activeer veiligheidsopties"
msgid "Activate the requested vHost for the given nick."
msgstr "Activeer de aangevraagde vHost voor de opgegeven nick."
msgstr "Activeer de aangevraagde vhost voor de opgegeven nick."
msgid ""
"Activates the vhost currently assigned to the nick in use.\n"
"When you use this command any user who performs a /whois\n"
"on you will see the vhost instead of your real host/IP address."
msgstr ""
"Activeert de vHost die momenteel toegewezen is aan de nick\n"
"die je gebruikt. Als je dit commando uitvoert zal elke\n"
"gebruiker die een /whois op je doet de vHost zien in plaats\n"
"Activeert de vhost die momenteel toegewezen is aan de nick\n"
"die in gebruik is. Als je dit commando uitvoert zal elke\n"
"gebruiker die een /whois op je doet de vhost zien in plaats\n"
"van je echte host/IP-adres."
msgid "Activates your assigned vhost"
msgstr "Activeert je toegewezen vHost"
msgstr "Activeert je toegewezen vhost"
msgid ""
"Add or delete oper information for a given nick or channel.\n"
@@ -1954,11 +1954,11 @@ msgstr "Alle gebruikermodes op %s zijn gesynchroniseerd."
#, c-format
msgid "All vhosts in the group %s have been set to %s."
msgstr "Alle vHosts in de groep %s zijn gewijzigd naar %s."
msgstr "Alle vhosts in de groep %s zijn gewijzigd naar %s."
#, c-format
msgid "All vhosts in the group %s have been set to %s@%s."
msgstr "Alle vHosts in de groep %s zijn gewijzigd naar %s@%s."
msgstr "Alle vhosts in de groep %s zijn gewijzigd naar %s@%s."
msgid "Allowed to (de)halfop him/herself"
msgstr "Kan zichzelf (de)halfop'en"
@@ -2418,7 +2418,7 @@ msgid ""
msgstr ""
"Stelt je in staat te voorkomen dat bepaalde informatie getoont wordt\n"
"wanneer iemand een %s INFO doet op je nick. Je kan\n"
"het e-mailadres (EMAIL), laatst geziene ident@host (USERMASK),\n"
"je e-mailadres (EMAIL), laatst geziene ident@host (USERMASK),\n"
"je services toegangsniveau (STATUS) en het laatste quit\n"
"bericht (QUIT) verbergen. De tweede parameter geeft aan of\n"
"de informatie moet getoont (OFF) of verborgen (ON) worden."
@@ -2449,7 +2449,7 @@ msgstr ""
"van de kanaal toegangslijsten zijn beschikbaar."
msgid "Approve the requested vHost of a user"
msgstr "Keur de aangevraagde vHost van een gebruiker goed"
msgstr "Keur de aangevraagde vhost van een gebruiker goed"
msgid "As a Services Operator, you may drop any nick."
msgstr "Als Services Operator kan je elke nickregistratie verwijderen."
@@ -3257,13 +3257,13 @@ msgid ""
"When you use this command any user who performs a /whois\n"
"on you will see your real host/IP address."
msgstr ""
"Deactiveert de vHost die moementeel toegewezen is aan de nick\n"
"Deactiveert de vhost die momenteel toegewezen is aan de nick\n"
"die in gebruik is. Als je dit commando uitvoert zal elke gebruiker\n"
"die een /whois op je doet je echte hostname zien in plaats van\n"
"je vHost."
"die een /whois op je doet je echte host/IP-adres zien in plaats van\n"
"je vhost."
msgid "Deactivates your assigned vhost"
msgstr "Deactiveert je toegewezen vHost"
msgstr "Deactiveert je toegewezen vhost"
#, c-format
msgid "Default AKILL expiry time: %d days"
@@ -3350,7 +3350,7 @@ msgid "Delete a memo or memos"
msgstr "Verwijder een of meerdere memo's"
msgid "Delete the vhost of another user"
msgstr "Verwijder de vHost van een andere gebruiker"
msgstr "Verwijder de vhost van een andere gebruiker"
#, c-format
msgid "Deleted %d entries from %s %s list."
@@ -3445,17 +3445,17 @@ msgid ""
"Deletes the vhost assigned to the given nick from the\n"
"database."
msgstr ""
"Verwijdert de vHost die toegewezen is aan de gegeven nick\n"
"Verwijdert de vhost die toegewezen is aan de gegeven nick\n"
"uit de database."
msgid "Deletes the vhost for all nicks in a group"
msgstr "Verwijdert de vHost voor alle nicks in een groep"
msgstr "Verwijdert de vhost voor alle nicks in een groep"
msgid ""
"Deletes the vhost for all nicks in the same group as\n"
"that of the given nick."
msgstr ""
"Verwijdert de vHost voor alle nicks in dezelfde groep\n"
"Verwijdert de vhost voor alle nicks in dezelfde groep\n"
"als de opgegeven nick."
#, c-format
@@ -3531,7 +3531,7 @@ msgid "Displays information about your memos"
msgstr "Toont informatie over jouw memo's"
msgid "Displays one or more vhost entries"
msgstr "Geeft een of meer vHosts weer"
msgstr "Geeft een of meer vhosts weer"
msgid "Displays the top 10 users of a channel"
msgstr "Toont de top 10 gebruikers van een kanaal"
@@ -3952,11 +3952,11 @@ msgstr "Fout bij laden configuratiebestand: %s"
#, c-format
msgid "Error! The vHost ident is too long, please use an ident shorter than %d characters."
msgstr "Fout! De vHost ident is te lang, gelieve een ident korter dan %d karakters op te geven."
msgstr "Fout! De vident is te lang, gelieve een ident korter dan %d karakters op te geven."
#, c-format
msgid "Error! The vHost is too long, please use a hostname shorter than %d characters."
msgstr "Fout! De vHost is te lang, gelieve een host korter dan %d karakters op te geven."
msgstr "Fout! De vhost is te lang, gelieve een host korter dan %d karakters op te geven."
msgid ""
"Examples:\n"
@@ -4099,7 +4099,7 @@ msgid ""
"not given, it will %s you."
msgstr ""
"Geeft %s status aan de gegeven nick op een kanaal. Als nick\n"
"niet gegeven, zal het jou %s status geven of afnemen."
"niet gegeven is, zal het jou %s status geven."
#, c-format
msgid "Gives you or the specified nick %s status on a channel"
@@ -4198,11 +4198,11 @@ msgstr "Info over een geladen module"
#, c-format
msgid "Information for bot %s:"
msgstr "Informatie voor bot %s:"
msgstr "Informatie over bot %s:"
#, c-format
msgid "Information for channel %s:"
msgstr "Informatie voor kanaal %s:"
msgstr "Informatie over kanaal %s:"
#, c-format
msgid "Invalid duration %s, using %d days."
@@ -4386,7 +4386,7 @@ msgid ""
"Lists all available bots on this network.\n"
"Bots prefixed by a * are reserved for IRC Operators."
msgstr ""
"Geeft alle beschikbare bots op dit netwerk weer.\n"
"Toont alle beschikbare bots op dit netwerk.\n"
"Bots voorafgegaan met een * zijn gereserveerd\n"
"voor IRC operators."
@@ -4402,7 +4402,7 @@ msgid ""
"specified, lists only channels matching pattern that have the +s or\n"
"+p mode."
msgstr ""
"Geeft alle kanalen weer die momenteel in gebruik zijn op het\n"
"Toont alle kanalen die momenteel in gebruik zijn op het\n"
"IRC netwerk, geregistreerd of niet.\n"
" \n"
"Als patroon is gegeven, worden alleen overeenkomende\n"
@@ -4419,7 +4419,7 @@ msgid ""
"prefixed by an exclamation mark. The nickname parameter is\n"
"limited to Services Operators"
msgstr ""
"Geeft alle kanalen weer waar je toegangsrechten hebt.\n"
"Toont alle kanalen waar je toegangsrechten hebt.\n"
" \n"
"Kanalen die de NOEXPIRE optie hebben aan staan\n"
"zullen vooraan een uitroepteken hebben staan. Een nick\n"
@@ -4459,7 +4459,7 @@ msgid ""
" LIST #51-100\n"
" Lists all registered channels within the given range (51-100)."
msgstr ""
"Geeft alle geregistreerde kanalen weer die overeenkomen\n"
"Toont alle geregistreerde kanalen die overeenkomen\n"
"met het gegeven patroon. Kanalen met de PRIVATE optie\n"
"aan zullen enkel getoont worden aan Services Operators die er\n"
"de toegang voor hebben. Kanalen met de NOEXPIRE optie\n"
@@ -4518,7 +4518,7 @@ msgid ""
" LIST #51-100\n"
" Lists all registered nicks within the given range (51-100)."
msgstr ""
"Geeft alle geregistreerde nicks weer die overeenkomen\n"
"Toont alle geregistreerde nicknames die overeenkomen\n"
"met het gegeven patroon, in nick!ident@host formaat.\n"
"Nicks met de PRIVATE optie aan worden alleen weergegeven\n"
"aan Services Operators die er de toegang voor hebben. Nicks met\n"
@@ -4562,7 +4562,7 @@ msgid ""
"only users that are on the given channel. If INVISIBLE is specified, only users\n"
"with the +i flag will be listed."
msgstr ""
"Geeft alle gebruikers weer die momenteel online zijn op het\n"
"Toont alle gebruikers die momenteel online zijn op het\n"
"IRC netwerk, geregistreerd of niet.\n"
" \n"
"Als een patroon is gegeven worden alleen overeenkomende\n"
@@ -4580,7 +4580,7 @@ msgid ""
" LIST 2-5,7-9\n"
" Lists memos numbered 2 through 5 and 7 through 9."
msgstr ""
"Geeft alle memo's die je hebt weer. Als je NEW opgeeft worden\n"
"Toont alle memo's die je hebt. Als je NEW opgeeft worden\n"
"alleen nieuwe (ongelezen) memo's weergegeven. Ongelezen memo's\n"
"worden gemarkeert met een \"*\" links van het memo nummer. Je kan\n"
"ook een lijst van nummers opgeven, zoals in het onderstaand voorbeeld:\n"
@@ -4903,7 +4903,7 @@ msgid "Masks and unregistered users may not be on access lists."
msgstr "Maskers en ongeregistreerde gebruikers mogen niet op toegangslijsten staan."
msgid "Matches and returns all users that registered using given email"
msgstr "Geeft alle met het gegeven e-mail geregistreerde gebruikers weer"
msgstr "Toont alle gebruikers die met het gegeven e-mail geregistreerd hebben"
#, c-format
msgid "Matches for %s:"
@@ -5462,7 +5462,7 @@ msgid "Persistent"
msgstr "Permanent"
msgid "Please contact an Operator to get a vHost assigned to this nick."
msgstr "Gelieve een Operator te contacteren om een vHost aan je nick toegewezen te krijgen."
msgstr "Gelieve een Operator te contacteren om een vhost aan je nick toegewezen te krijgen."
msgid ""
"Please try again with a more obscure password. Passwords should be at least\n"
@@ -5486,7 +5486,7 @@ msgstr "Gelieve %d seconden te wachten en opnieuw te proberen."
#, c-format
msgid "Please wait %d seconds before requesting a new vHost."
msgstr "Gelieve %d seconden te wachten alvorens een nieuwe vHost aan te vragen."
msgstr "Gelieve %d seconden te wachten alvorens een nieuwe vhost aan te vragen."
#, c-format
msgid "Please wait %d seconds before using the %s command again."
@@ -5773,10 +5773,10 @@ msgid "Regulate the use of critical commands"
msgstr "Reguleer het gebruik van kritieke commando's"
msgid "Reject the requested vHost for the given nick."
msgstr "Wijs de aangevraagde vHost van de opgegeven nick af."
msgstr "Wijs de aangevraagde vhost van de opgegeven nick af."
msgid "Reject the requested vHost of a user"
msgstr "Wijs de aangevraagde vHost van een gebruiker af"
msgstr "Wijs de aangevraagde vhost van een gebruiker af"
msgid "Releases a suspended channel"
msgstr "Geeft een kanaal weer vrij"
@@ -5820,8 +5820,8 @@ msgid ""
"Removes %s status from the selected nick on a channel. If nick is\n"
"not given, it will de%s you."
msgstr ""
"Verwijdert %s status van de gegeven nick op een channel. Als nick\n"
"niet gegeven is, dan zal het bij jou de %s status weghalen."
"Verwijdert %s status van de gegeven nick op een kanaal. Als nick\n"
"niet gegeven is, zal het bij jou de %s status weghalen."
#, c-format
msgid "Removes %s status from you or the specified nick on a channel"
@@ -5848,14 +5848,14 @@ msgid "Repeat kicker"
msgstr "Herhalingskicker"
msgid "Request a vHost for your nick"
msgstr "Vraag een vHost voor je nick aan"
msgstr "Vraag een vhost voor je nick aan"
msgid ""
"Request the given vHost to be activated for your nick by the\n"
"network administrators. Please be patient while your request\n"
"is being considered."
msgstr ""
"Vraag de opgegeven vHost aan voor activatie voor jouw nick\n"
"Vraag de opgegeven vhost aan voor activatie voor jouw nick\n"
"door de netwerkbeheerders. Gelieve geduldig te wachten\n"
"terwijl uw aanvraag lopende is."
@@ -5890,7 +5890,7 @@ msgid "Retrieve the password for a nickname"
msgstr "Vraag het wachtwoord van een nick op"
msgid "Retrieves the vhost requests"
msgstr "Vraag de vHost-aanvraaglijst op"
msgstr "Vraag de vhost-aanvraaglijst op"
msgid "Returns the key of the given channel"
msgstr "Toont de sleutel voor het gegeven kanaal"
@@ -6312,10 +6312,10 @@ msgid "Set the successor for a channel"
msgstr "Stelt de opvolger voor het kanaal in"
msgid "Set the vhost for all nicks in a group"
msgstr "Stel de vHost voor alle nicks in een groep in"
msgstr "Stel de vhost voor alle nicks in een groep in"
msgid "Set the vhost of another user"
msgstr "Stel de vHost van een andere gebruiker in"
msgstr "Stel de vhost van een andere gebruiker in"
msgid "Set various global Services options"
msgstr "Stel verschillende globale services opties in"
@@ -6355,8 +6355,8 @@ msgid ""
"the ban system once activated."
msgstr ""
"Zet de slechtewoordenkicker aan of uit. Wanneer deze aan\n"
"staat zal de bot gebruikers kicken die bepaald slechte\n"
"woorden op het kanaal zeggen.\n"
"staat zal de bot gebruikers kicken die bepaalde woorden\n"
"op het kanaal zeggen.\n"
"Je kan de slechte woorden voor je kanaal instellen met het\n"
"BADWORDS commando. Typ %s%s HELP BADWORDS voor\n"
"meer informatie.\n"
@@ -6541,12 +6541,12 @@ msgid ""
"* NOTE, this will not update the vhost for any nicks\n"
"added to the group after this command was used."
msgstr ""
"Stelt de vHost voor alle nicks in dezelfde groep in als die\n"
"van de gegeven nick. Als de IRCd vIdent's ondersteunt\n"
"Stelt de vhost voor alle nicks in dezelfde groep in als die\n"
"van de gegeven nick. Als de IRCd vident's ondersteunt\n"
"kun je ook SETALL <nick> <ident>@<host> gebruiken\n"
"om de ident voor gebruikers aan te passen tegelijk met\n"
"de host.\n"
"* LET OP, dit wijzigt de vHost niet voor nicks die lid\n"
"* LET OP, dit wijzigt de vhost niet voor nicks die lid\n"
"worden van de groep nadat dit commando is gebruikt."
msgid ""
@@ -6555,8 +6555,8 @@ msgid ""
"SET <nick> <ident>@<hostmask> set idents for users as\n"
"well as vhosts."
msgstr ""
"Stelt de vHost voor de gegeven nick in op de host die je\n"
"opgegeven hebt. Als de IRCd vIdents ondersteund kun je\n"
"Stelt de vhost voor de gegeven nick in op de host die je\n"
"opgegeven hebt. Als de IRCd vidents ondersteund kun je\n"
"ook SET <nick> <ident>@<host> gebruiken om de ident\n"
"voor een gebruiker aan te passen tegelijk met de host."
@@ -6795,7 +6795,7 @@ msgid "Statistics reset."
msgstr "Statistieken gereset."
msgid "Status updated (memos, vhost, chmodes, flags)."
msgstr "Status geüpdatet (memo's, vHost, kanaalmodes, vlaggen)."
msgstr "Status geüpdatet (memo's, vhost, kanaalmodes, vlaggen)."
msgid "Stop flooding!"
msgstr "Stop met flooden!"
@@ -6863,7 +6863,7 @@ msgstr ""
"modes die ze zouden moeten hebben gebaseerd op hun toegang."
msgid "Syncs the vhost for all nicks in a group"
msgstr "Stelt de vHost voor alle nicks in een groep gelijk"
msgstr "Stelt de vhost voor alle nicks in een groep gelijk"
msgid "Syntax"
msgstr "Gebruik"
@@ -6876,7 +6876,7 @@ msgid ""
msgstr ""
"Gebruik: %s\n"
" \n"
"Geeft alle nicks in je groep weer."
"Toont alle nicks in je groep."
#, c-format
msgid ""
@@ -7695,8 +7695,8 @@ msgid ""
"CURRENT nick to be the vhost for all nicks in the same\n"
"group."
msgstr ""
"Dit commando stelt gebruikers in staat de vHost van hun\n"
"HUIDIGE nick de vHost van alle nicks in dezelfde groep te\n"
"Dit commando stelt gebruikers in staat de vhost van hun\n"
"HUIDIGE nick de vhost van alle nicks in dezelfde groep te\n"
"laten zijn."
msgid ""
@@ -7744,13 +7744,13 @@ msgid ""
"and Y will be displayed, e.g. #1-3 will display the first 3\n"
"nick/vhost entries."
msgstr ""
"Dit commando toont alle geregistreerde vHosts aan de operator.\n"
"Indien patroon opgegeven is, worden enkel nicks en vHosts\n"
"Dit commando toont alle geregistreerde vhosts aan de operator.\n"
"Indien patroon opgegeven is, worden enkel nicks en vhosts\n"
"getoont die overeenstemmen met patroon, bijvoorbeeld Rob*\n"
"voor alle vermeldingen die beginnen met \"Rob\".\n"
"Als de #X-Y stijl gebruikt wordt, dan zal enkel de reeks tussen X\n"
"en Y getoont worden. Bijvoorbeeld #1-3 zal de eerste 3\n"
"nick/vHost vermeldingen tonen."
"nick/vhost vermeldingen tonen."
msgid ""
"This command loads the module named modname from the modules\n"
@@ -7831,7 +7831,7 @@ msgid "This command reloads the module named modname."
msgstr "Dit commando herlaad de module genaamd modnaam."
msgid "This command retrieves the vhost requests."
msgstr "Dit commando toont de aangevraagde vHosts."
msgstr "Dit commando toont de aangevraagde vhosts."
msgid ""
"This command searches the Services logfiles for messages\n"
@@ -8264,7 +8264,7 @@ msgid ""
"your userflags (lastseentime, etc)."
msgstr ""
"Werkt je huidige status bij, het controleert bijvoorbeeld op nieuwe\n"
"memo's, stelt de benodigde kanaalmodes in, en werkt je vHost en\n"
"memo's, stelt de benodigde kanaalmodes in, en werkt je vhost en\n"
"gebruikersvlaggen bij (laatst gezien, enz)."
msgid "Updating databases."
@@ -8320,23 +8320,23 @@ msgid "Users list:"
msgstr "Gebruikerslijst:"
msgid "VHost"
msgstr "vHost"
msgstr "Vhost"
#, c-format
msgid "VHost for %s set to %s."
msgstr "vHost voor %s gewijzigd naar %s."
msgstr "Vhost voor %s gewijzigd naar %s."
#, c-format
msgid "VHost for %s set to %s@%s."
msgstr "vHost voor %s gewijzigd naar %s@%s."
msgstr "Vhost voor %s gewijzigd naar %s@%s."
#, c-format
msgid "VHost for group %s set to %s."
msgstr "vHost voor groep %s gewijzigd naar %s."
msgstr "Vhost voor groep %s gewijzigd naar %s."
#, c-format
msgid "VHost for group %s set to %s@%s."
msgstr "vHost voor groep %s gewijzigd naar %s@%s."
msgstr "Vhost voor groep %s gewijzigd naar %s@%s."
msgid "VIEW host"
msgstr "VIEW host"
@@ -8355,11 +8355,11 @@ msgid "Value of %s:%s changed to %s"
msgstr "Waarde van %s:%s gewijzigd naar %s"
msgid "Vhost"
msgstr "vHost"
msgstr "Vhost"
#, c-format
msgid "Vhost for %s removed."
msgstr "vHost voor %s verwijderd."
msgstr "Vhost voor %s verwijderd."
msgid "View and change Services Operators"
msgstr "Bekijk en wijzig Services Operators"
@@ -8776,7 +8776,7 @@ msgid "Your IRCd does not support SVSPART."
msgstr "Je IRCd ondersteunt geen SVSPART."
msgid "Your IRCd does not support vIdent's, if this is incorrect, please report this as a possible bug"
msgstr "Je IRCd ondersteunt geen vIdent's, indien dit niet klopt, gelieve dit dan te melden als een mogelijke fout"
msgstr "Je IRCd ondersteunt geen vident's. Indien dit niet klopt, gelieve dit dan te melden als een mogelijke fout."
#, c-format
msgid "Your account %s has been successfully created."
@@ -8867,18 +8867,18 @@ msgid "Your password reset request has expired."
msgstr "Je wachtwoord-reset aanvraag is verlopen."
msgid "Your vHost has been requested."
msgstr "Je vHost werd aangevraagd."
msgstr "Je vhost werd aangevraagd."
#, c-format
msgid "Your vhost of %s is now activated."
msgstr "Je vHost %s is nu geactiveerd."
msgstr "Je vhost %s is nu geactiveerd."
#, c-format
msgid "Your vhost of %s@%s is now activated."
msgstr "Je vHost %s@%s is nu geactiveerd."
msgstr "Je vhost %s@%s is nu geactiveerd."
msgid "Your vhost was removed and the normal cloaking restored."
msgstr "Je vHost werd verwijderd en de normale cloaking hersteld."
msgstr "Je vhost werd verwijderd en de normale cloaking hersteld."
msgid "Zone"
msgstr "Domein"
@@ -8971,18 +8971,18 @@ msgid "[Unconfirmed]"
msgstr "[onbevestigd]"
msgid "[auto memo] Your requested vHost has been approved."
msgstr "[auto memo] Uw aanvraag voor de vHost werd goedgekeurd."
msgstr "[auto memo] Uw aanvraag voor de vhost werd goedgekeurd."
msgid "[auto memo] Your requested vHost has been rejected."
msgstr "[auto memo] Uw aanvraag voor de vHost werd geweigerd."
msgstr "[auto memo] Uw aanvraag voor de vhost werd geweigerd."
#, c-format
msgid "[auto memo] Your requested vHost has been rejected. Reason: %s"
msgstr "[auto memo] Uw aanvraag voor de vHost werd geweigerd. Reden: %s"
msgstr "[auto memo] Uw aanvraag voor de vhost werd geweigerd. Reden: %s"
#, c-format
msgid "[auto memo] vHost %s has been requested by %s."
msgstr "[auto memo] vHost %s aangevraagd door %s."
msgstr "[auto memo] Vhost %s aangevraagd door %s."
msgid "[{pattern | channel} [INVISIBLE]]"
msgstr "[{patroon | kanaal} [INVISIBLE]]"
@@ -9061,18 +9061,18 @@ msgstr "seconden"
#, c-format
msgid "vHost for %s has been activated."
msgstr "vHost voor %s is geactiveerd."
msgstr "Vhost voor %s werd geactiveerd."
#, c-format
msgid "vHost for %s has been rejected."
msgstr "vHost voor %s is geweigerd."
msgstr "Vhost voor %s werd geweigerd."
msgid "vhost"
msgstr "vHost"
msgstr "vhost"
#, c-format
msgid "vhosts for group %s have been removed."
msgstr "vHosts voor groep %s zijn verwijderd."
msgstr "Vhosts voor groep %s werden verwijderd."
msgid "year"
msgstr "jaar"
+1 -1
View File
@@ -162,7 +162,7 @@ class CommandNSGroup : public Command
source.Reply(_("There are too many nicks in your group."));
else if (source.GetNick().length() <= guestnick.length() + 7 &&
source.GetNick().length() >= guestnick.length() + 1 &&
!source.GetNick().find_ci(guestnick) && !source.GetNick().substr(guestnick.length()).find_first_not_of("1234567890"))
!source.GetNick().find_ci(guestnick) && source.GetNick().substr(guestnick.length()).find_first_not_of("1234567890") == Anope::string::npos)
{
source.Reply(NICK_CANNOT_BE_REGISTERED, source.GetNick().c_str());
}
+17 -2
View File
@@ -18,6 +18,7 @@
#include "modules/suspend.h"
#include "modules/os_forbid.h"
#include "modules/cs_entrymsg.h"
#include "modules/set_misc.h"
#define READ(x) \
if (true) \
@@ -473,10 +474,24 @@ static void LoadNicks()
uint32_t u32;
READ(read_uint32(&u32, f));
//nc->icq = u32;
ExtensibleRef<MiscData> icqref("ns_set_misc:ICQ");
if (icqref && u32 > 0)
{
MiscData *data = icqref->Set(nc);
data->object = nc->display;
data->name = "ns_set_misc:ICQ";
data->data = stringify(u32);
}
READ(read_string(buffer, f));
//nc->url = buffer;
ExtensibleRef<MiscData> urlref("ns_set_misc:URL");
if (urlref && !buffer.empty())
{
MiscData *data = icqref->Set(nc);
data->object = nc->display;
data->name = "ns_set_misc:URL";
data->data = buffer;
}
READ(read_uint32(&u32, f));
if (u32 & OLD_NI_KILLPROTECT)
+5 -5
View File
@@ -35,14 +35,14 @@ class NSMaxEmail : public Module
return cleaned;
}
bool CheckLimitReached(CommandSource &source, const Anope::string &email)
bool CheckLimitReached(CommandSource &source, const Anope::string &email, bool ignoreself)
{
int NSEmailMax = Config->GetModule(this)->Get<int>("maxemails");
if (NSEmailMax < 1 || email.empty())
return false;
if (this->CountEmail(email, source.nc) < NSEmailMax)
if (this->CountEmail(email, ignoreself ? source.GetAccount() : NULL) < NSEmailMax)
return false;
if (NSEmailMax == 1)
@@ -93,17 +93,17 @@ class NSMaxEmail : public Module
if (command->name == "nickserv/register")
{
if (this->CheckLimitReached(source, params.size() > 1 ? params[1] : ""))
if (this->CheckLimitReached(source, params.size() > 1 ? params[1] : "", false))
return EVENT_STOP;
}
else if (command->name == "nickserv/set/email")
{
if (this->CheckLimitReached(source, params.size() > 0 ? params[0] : ""))
if (this->CheckLimitReached(source, params.size() > 0 ? params[0] : "", true))
return EVENT_STOP;
}
else if (command->name == "nickserv/ungroup" && source.GetAccount())
{
if (this->CheckLimitReached(source, source.GetAccount()->email))
if (this->CheckLimitReached(source, source.GetAccount()->email, false))
return EVENT_STOP;
}
+3 -3
View File
@@ -40,7 +40,7 @@ bool WebCPanel::NickServ::Info::OnRequest(HTTPProvider *server, const Anope::str
replacements["MESSAGES"] = "Greet updated";
}
if (na->nc->HasExt("AUTOOP") != message.post_data.count("autoop"))
if (na->nc->HasExt("AUTOOP") != !!message.post_data.count("autoop"))
{
if (!na->nc->HasExt("AUTOOP"))
na->nc->Extend<bool>("AUTOOP");
@@ -48,7 +48,7 @@ bool WebCPanel::NickServ::Info::OnRequest(HTTPProvider *server, const Anope::str
na->nc->Shrink<bool>("AUTOOP");
replacements["MESSAGES"] = "Autoop updated";
}
if (na->nc->HasExt("NS_PRIVATE") != message.post_data.count("private"))
if (na->nc->HasExt("NS_PRIVATE") != !!message.post_data.count("private"))
{
if (!na->nc->HasExt("NS_PRIVATE"))
na->nc->Extend<bool>("NS_PRIVATE");
@@ -56,7 +56,7 @@ bool WebCPanel::NickServ::Info::OnRequest(HTTPProvider *server, const Anope::str
na->nc->Shrink<bool>("NS_PRIVATE");
replacements["MESSAGES"] = "Private updated";
}
if (na->nc->HasExt("NS_SECURE") != message.post_data.count("secure"))
if (na->nc->HasExt("NS_SECURE") != !!message.post_data.count("secure"))
{
if (!na->nc->HasExt("NS_SECURE"))
na->nc->Extend<bool>("NS_SECURE");
+1 -1
View File
@@ -97,7 +97,7 @@ if(GETTEXT_FOUND)
endif(GETTEXT_FOUND)
# Get the filename of the Anope executable as it is in on this system
get_target_property(SERVICES_BINARY ${PROGRAM_NAME} LOCATION)
set(SERVICES_BINARY "$<TARGET_FILE:${PROGRAM_NAME}>")
get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME)
# Add the Anope executable to the list of files for CPack to ignore
add_to_cpack_ignored_files("${SERVICES_BINARY}$" TRUE)
+2
View File
@@ -9,6 +9,8 @@
* Based on the original code of Services by Andy Church.
*/
#include <cerrno>
#include "services.h"
#include "mail.h"
#include "config.h"
+1 -1
View File
@@ -29,7 +29,7 @@ foreach(SRC ${TOOLS_SRCS})
DESTINATION ${BIN_DIR}
)
# Add the executable to the list of files for CPack to ignore
get_target_property(EXE_BINARY ${EXE} LOCATION)
set(EXE_BINARY "$<TARGET_FILE:${EXE}>")
get_filename_component(EXE_BINARY ${EXE_BINARY} NAME)
add_to_cpack_ignored_files("${EXE_BINARY}$" TRUE)
endif(NOT SKIP)
+1 -1
View File
@@ -3,4 +3,4 @@
VERSION_MAJOR=2
VERSION_MINOR=0
VERSION_PATCH=18
VERSION_EXTRA="-git"
VERSION_EXTRA=""