InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
f1dc582f3d
Add a script for updating the copyright headers.
2020-01-11 21:56:54 +00:00
Sadie Powell
34e33342d5
Rebuild the 005 numeric after changing the case mapping.
2020-01-08 11:53:29 +00:00
Sadie Powell
0ff2d05ba6
Minor improvements to the codepage module.
...
- Cache the codepage name on load and restore on unload.
- Make origisnick constant.
- Fix the size of the casemap in memcmp call.
2020-01-07 23:45:10 +00:00
Sadie Powell
3dd446de41
Add a replacement for the nationalchars module.
2020-01-07 18:55:35 +00:00
Sadie Powell
1e819280ee
Explicitly reject nicks beginning with a number in nationalchars.
...
Closes #1745 .
2020-01-07 10:06:28 +00:00
Sadie Powell
33bf99090f
Fix linking servers that are using the nationalchars module.
...
Closes #1744 .
2020-01-06 11:40:02 +00:00
Sadie Powell
473df5542f
Add an oper only parameter to Simple{Channel,User}ModeHandler.
2020-01-05 15:22:40 +00:00
Sadie Powell
007e0b46a8
Rename the modes in the services_account module to be less confusable.
2020-01-05 15:15:16 +00:00
Sadie Powell
6bd4024fd2
Rename <chanhistory:notice> to <chanhistory:prefixmsg>.
...
This name is a lot lessambiguous.
2020-01-03 22:35:53 +00:00
Sadie Powell
7a2462b891
Make chanhistory skip CTCPs when storing messages.
...
Sending historic CTCPs to clients can only end badly.
2020-01-03 22:28:45 +00:00
Sadie Powell
b3d82bb7a8
Make chanhistory replay notices as well as privmsgs.
2020-01-03 22:28:10 +00:00
Sadie Powell
038074d7c0
Fix the chanhistory module not replaying message tags.
2020-01-03 21:35:19 +00:00
Sadie Powell
a9e8e1f03a
Add an event provider class for the event/messagetag event.
2020-01-03 21:01:52 +00:00
Sadie Powell
45eff275cb
Bind ports before loading modules.
...
This fixes a defect introduced in ce7979bd7d where the ircv3_sts
module was unable to find the SSL listener.
2020-01-03 12:51:23 +00:00
Sadie Powell
56375392ba
Update my name and email address.
2019-12-31 20:55:17 +01:00
Peter Powell
3a3b38b776
Fix the previous commit on C++11 compilers.
2019-12-29 23:17:48 +01:00
Peter Powell
953ee6d2d1
Mark messages from ulined clients with the inspircd.org/service tag.
2019-12-29 19:41:56 +01:00
Peter Powell
4cc992f6c2
Ignore clients on ulined servers when reporting stats in LUSERS.
2019-12-28 17:33:49 +01:00
Peter Powell
52df21f646
Use FindNickOnly for finding the required nick for an alias.
2019-12-21 05:37:55 +00:00
Peter Powell
20fa9e1038
Use FindUUID in place of FindNick in places that only get a UUID.
2019-12-16 14:22:26 +00:00
Peter Powell
ce7979bd7d
Extract port binding code to a function and improve output.
2019-12-12 14:37:38 +00:00
Matt Schatz
a1c127aef6
Update the mailmap for myself.
2019-12-09 10:04:39 +00:00
Peter Powell
ad50225dc3
Make BindPorts return size_t instead of int.
2019-12-09 01:34:02 +00:00
Peter Powell
350a01d60c
Make ForkIntoBackground handle exiting by itself.
2019-12-09 01:33:52 +00:00
Peter Powell
37b46ade4b
Extract command line option parsing to a function.
2019-12-09 01:15:31 +00:00
Peter Powell
15b87e3b2b
Fix indentation of CheckRoot() and error in non-interactive mode.
2019-12-09 00:10:59 +00:00
Peter Powell
cca482b006
Improve behaviour when running as root.
...
- Only give the annoying message about root if --runasroot is not
specified.
- If --runasroot is specified then assume the user knows what they
are doing.
- Move CheckRoot to a static function in inspircd.cpp.
2019-12-08 23:08:57 +00:00
Peter Powell
bd20bdda21
Show the header before checking if the config file exists.
2019-12-08 22:36:13 +00:00
Peter Powell
078f72c1ab
Initialise Winsock from inside the socket engine.
2019-12-08 22:27:45 +00:00
Peter Powell
98561bddd0
Extract config file finding code to a function.
2019-12-08 22:26:33 +00:00
Peter Powell
23a122cb63
Extract performance stat code to a function.
2019-12-08 22:08:41 +00:00
Peter Powell
6b80d34c9f
Move XLine garbage collection to core_xline.
2019-12-08 21:57:51 +00:00
Peter Powell
01328257ff
Increase the core dump size earlier in the process lifetime.
...
According to `man 2 getrlimit` resource limits are inherited by
the child when a process forks.
2019-12-08 21:41:56 +00:00
Peter Powell
0dd7eaf63d
Call RecoverFromFork from ForkIntoBackground.
2019-12-08 21:36:19 +00:00
Peter Powell
9ad873886e
Convert InspIRCd::SetSignals to a static function.
2019-12-08 21:30:55 +00:00
Peter Powell
3faa9e3299
Move forking code into a function and remove DaemonSeed.
2019-12-08 21:19:47 +00:00
Peter Powell
191ad98fb5
Extract the core dump size increasing code to a function.
2019-12-08 20:53:19 +00:00
Peter Powell
399abe05ea
Make the UpdateTime function easier to read.
2019-12-08 20:39:46 +00:00
Peter Powell
71130d15b3
Extract root dropping code to a function.
2019-12-08 20:39:28 +00:00
Peter Powell
a47e2df0ce
Replace our Windows getopt_long wrapper with ya_getopt.
...
Closes #546 .
2019-12-08 19:59:34 +00:00
Peter Powell
914d8140d9
Use meaningful variable names in consolecolors.
2019-12-08 19:12:56 +00:00
Peter Powell
c9a06147e6
Extract rng initialisation code to a function.
2019-12-08 19:05:01 +00:00
Peter Powell
eaa47be713
Move various static functions into an anonymous namespace.
2019-12-08 18:51:52 +00:00
Peter Powell
b8cb1e5f01
Clean up the initialisation of the InspIRCd class.
2019-12-08 17:26:58 +00:00
Peter Powell
bd04209104
Get rid of the platform tests in the Travis build script.
...
We only build on Xenial nowadays so this check is unnecessary.
2019-12-06 19:33:55 +00:00
iwalkalone
aea5500b46
Fixing MatchCIDR call when checking proxy range
2019-12-06 19:30:11 +00:00
Peter Powell
7f36a33713
Bump the InspIRCd ABI version.
2019-12-03 12:25:12 +00:00
Peter Powell
54b3cf898e
Add a note to the issue template about the security policy.
2019-12-03 12:09:29 +00:00
Peter Powell
eaea34e987
Send * for empty targets in the no such nick/channel message.
2019-12-03 12:09:15 +00:00