Sadie Powell
9cc2ea8a56
Don't reload the main database when reloading a module.
2025-11-20 20:09:09 +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
319a523b4f
Add support for loading forbids from a file.
...
Closes #365 .
2025-11-20 15:05:36 +00:00
Sadie Powell
cfe1317b5d
Allow forbidding passwords.
2025-11-20 13:07:13 +00:00
Sadie Powell
6e151a693a
Clean up more obsolete build system cruft.
2025-11-18 04:00:04 +00:00
Sadie Powell
838de2f5b8
Kill a bunch of obsolete build system cruft.
2025-11-18 02:18:05 +00:00
Sadie Powell
5cc5d0effd
Extract build_module from build_modules.
2025-11-18 01:41:11 +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
73175a0187
Use the name of the language in ns_set_language not the code.
2025-11-17 23:50:19 +00:00
Sadie Powell
dc32f6945e
Improve the help for nickserv/{sa,}set/{language,timezone}.
2025-11-17 23:13:18 +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
Sadie Powell
5ae45d96af
Allow setting the language and timezone back to the default.
2025-11-15 16:52:24 +00:00
Sadie Powell
c2681733df
Merge branch '2.0' into 2.1.
2025-11-13 13:24:07 +00:00
Sadie Powell
f6c093ae23
Fix not respecting the mode state when removing a mode lock.
2025-11-13 13:23:05 +00:00
Sadie Powell
2c3ee456c1
Deduplicate mode locking code, stack more lock messages.
2025-11-13 12:52:04 +00:00
Sadie Powell
0fffae7bb5
Centralise logic for determining if a mode needs a param in cs_mode.
2025-11-12 22:00:19 +00:00
Sadie Powell
989a2da73a
Fix getting the brief mode lock string.
2025-11-12 22:00:05 +00:00
Sadie Powell
213f3dd41b
Only require a param in LOCK DEL when deleting a list/status mode.
...
Closes #535 .
2025-11-12 20:57:06 +00:00
Sadie Powell
1c84a5e3c9
Fix a syntax error in a cs_mode help message.
...
Closes #537 .
2025-11-12 19:52:03 +00:00
Sadie Powell
7da2364b69
Switch enc_sha1 to use a vendored library.
2025-11-12 19:49:59 +00:00
Sadie Powell
fa0c6ba821
Consistently use the same header layout on all files.
2025-11-12 19:49:59 +00:00
Sadie Powell
c4e0c41f11
Use bool for boolean fields not int.
2025-11-11 23:50:49 +00:00
Sadie Powell
b2ee8a5b4b
Fix a typo in cs_mode.
2025-11-11 22:26:17 +00:00
Sadie Powell
4b05ec26b7
Make mlock messages consistent, centralise mode string formatting.
...
Closes #356 .
2025-11-11 21:12:32 +00:00
Sadie Powell
e1fe7e17d3
Add support for the UnrealIRCd flood profile mode.
2025-11-11 17:49:21 +00:00
Sadie Powell
e6fa71af9d
Refactor UnrealIRCd mode protoctl parsing code.
2025-11-11 17:49:00 +00:00
Sadie Powell
1ce39c8e76
Add an option to not preserve old data in db_json.
2025-11-10 17:16:21 +00:00
Sadie Powell
88785bfdef
Sort the core language strings and rename for consistency.
2025-11-10 14:58:49 +00:00
Sadie Powell
815df5c292
Remove an InspIRCd mode that hasn't existed since 1.2.
2025-11-10 13:46:18 +00:00
Sadie Powell
0016106772
Add an event for password validation, expand obscurity checks.
2025-11-10 03:13:23 +00:00
Sadie Powell
253cca7b3b
Fix some time-related language strings.
2025-11-10 00:59:46 +00:00
Sadie Powell
71c3d7608a
Merge branch '2.0' into 2.1.
2025-11-09 16:38:38 +00:00
Sadie Powell
f4c565aa08
Fix reading the settings in m_dns.
2025-11-09 15:56:30 +00:00
Sadie Powell
8843e89e9f
Fix some missing documentation.
2025-11-09 12:40:32 +00:00
Sadie Powell
8562445038
Fix double lookups on accounts when authenticating.
2025-11-09 11:42:58 +00:00
Sadie Powell
fb1014a53c
Cache the NickCore in rpc_user.
2025-11-08 18:04:16 +00:00
Sadie Powell
0ea89852d0
Fix an inverted condition in rpc_user.
2025-11-08 18:02:04 +00:00
Sadie Powell
5a56f95b35
Allow only showing accounts in nickserv/list.
2025-11-08 15:15:51 +00:00
Sadie Powell
ebab5b4f1d
Bring ns_list into the 21st century.
2025-11-08 15:07:35 +00:00
Sadie Powell
8a8cee4061
Add a method for consistently updating the NickAlias seen data.
2025-11-02 17:23:57 +00:00
Sadie Powell
a70ef47359
Numerics should always be unsigned.
2025-10-29 13:14:35 +00:00
Sadie Powell
90ac540960
Force CMake to recheck for new modules when building.
2025-10-24 10:26:47 +01:00
Sadie Powell
909a77efb9
Remove unnecessary return statements at the end of blocks.
2025-10-24 10:22:29 +01:00
Sadie Powell
59c8867e64
Remove some dead code from the inspircd protocol module.
2025-10-23 18:50:42 +01:00
Sadie Powell
08d47a5dad
Drop support for InspIRCd v3.
2025-10-23 13:54:27 +01:00
TehPeGaSuS
b8ef28509c
Update account display format in ns_info.
...
This makes it more clear that the numbers are the actual account ID.
2025-10-21 11:32:02 +01:00
Sadie Powell
cf6e56130a
Improve some confirmation messages sent by NickServ.
2025-10-18 14:43:38 +01:00