1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 19:56:39 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Sadie Powell e2dc77641a Add some helper methods to CommandSource for translation. 2026-04-26 18:07:56 +01:00
Sadie Powell 85a32077b5 Add Data::Load, make the istream operator private. 2026-03-26 14:35:31 +00:00
Sadie Powell aef1925b1d Fix finding gettext on Windows.
Unfortunately we need to move our escape character from 0x1A to 0x1B
because newer versions of gettext treat the former as an EOF character.
2026-02-08 00:23:41 +00:00
Sadie Powell 81aa37543e Merge branch '2.0' into 2.1. 2026-01-01 18:07:12 +00:00
Sadie Powell 08bebeb9f0 Unmark a message with no translatable content as translatable. 2025-11-25 00:48:41 +00:00
Sadie Powell 20ca0c76e0 Store hs_offer data with the correct data type. 2025-11-20 23:59:32 +00:00
Sadie Powell e62ca67d2e Initialize the HostOffer type before the HostOffer list. 2025-11-20 19:14:09 +00:00
Sadie Powell e4eb3f1cc5 Move the hs_offer list into the module class. 2025-11-20 15:16:51 +00:00
Sadie Powell ca27e1e60f Misc fixes to hs_offer.
- Cache the network name to avoid looking it up repeatedly.
- Fix {regdate} and {regepoch} being inverted.
- Fix building the add reason and make it optional as intended.
- Use a dummy templating function when adding to allow more reliable
  checks for whether the offered vhost is acceptable.
2025-11-18 01:14:58 +00:00
Sadie Powell 4fbcc7f391 Fix an uninitialized read in hs_offer. 2025-11-17 22:31:36 +00:00
Sadie Powell d3d77c5893 Fix a missing period in hs_offer. 2025-11-17 22:17:19 +00:00
Sadie Powell 6c163e53d8 Import a refactored version of hs_offer from the modsite.
Co-authored-by: Matt Schatz <genius3000@g3k.solutions>
2025-11-17 22:16:12 +00:00