Sadie Powell
1de6f5b4a9
Merge branch 'insp3' into master.
2020-01-17 12:36:09 +00:00
Sadie Powell
5ae6524522
Fix the ordering of custom event handlers.
...
Closes #1742 .
2020-01-17 11:27:31 +00:00
Sadie Powell
2bf0722dde
Fix a GCC shadowing warning.
2020-01-16 17:37:51 +00:00
Sadie Powell
8df3d792bc
Fix STATUSMSG tag messages not including the status in the target.
2020-01-16 15:23:40 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +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
f8013e0899
Move ISupport logic out of the core and into core_info.
2020-01-05 14:41:06 +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
f856d5ab8a
Merge branch 'insp3' into master.
2020-01-01 12:33:10 +01:00
Sadie Powell
56375392ba
Update my name and email address.
2019-12-31 20:55:17 +01:00
Sadie Powell
6087e877f3
Get rid of UserManager#OperCount and UserManager#UserCount.
...
OperCount was only used in one place, UserCount is used nowhere,
and both just a wrapper around data which is accessible by other
means.
2019-12-29 17:13:18 +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
ce7979bd7d
Extract port binding code to a function and improve output.
2019-12-12 14:37:38 +00:00
Peter Powell
ad50225dc3
Make BindPorts return size_t instead of int.
2019-12-09 01:34:02 +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
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
914d8140d9
Use meaningful variable names in consolecolors.
2019-12-08 19:12:56 +00:00
Sadie Powell
034dad6ab0
Merge branch 'insp3' into master.
2019-12-08 17:47:07 +00:00
Peter Powell
7f36a33713
Bump the InspIRCd ABI version.
2019-12-03 12:25:12 +00:00
Peter Powell
eaea34e987
Send * for empty targets in the no such nick/channel message.
2019-12-03 12:09:15 +00:00
Peter Powell
bef13bcae3
Add some overloads of IRCv3::Replies::Reply#Send.
2019-11-25 14:10:42 +00:00
Peter Powell
2ec7654267
Deprecate Send{Channel,User}Notice; use SendMessage instead.
2019-11-17 22:37:24 +00:00
Peter Powell
687778b72e
Allow Channel::WriteNotice send to other servers and status ranks.
2019-11-17 22:17:42 +00:00
Peter Powell
b443df3938
Close connections when an I/O hook is configured but not loaded.
2019-11-16 22:05:42 +00:00
Sadie Powell
7b68936321
Merge branch 'insp3' into master.
2019-11-13 15:24:45 +00:00
Peter Powell
43fb2f9972
Add GetId() to the SQL::Provider class.
2019-11-13 12:58:18 +00:00
Peter Powell
318b40dd70
Allow event providers to know when a listener subs or unsubs.
2019-10-21 12:06:37 +01:00
Peter Powell
c61a37790d
Switch ChildMap and EntryMap to insp::flat_map.
2019-10-18 12:36:55 +01:00
Peter Powell
e3deb78340
Add an event which is fired when the server shuts down.
2019-10-17 17:17:39 +01:00
Peter Powell
d0f802e30c
Implement serialisation of users.
...
This allows for various things which will be coming in the future.
e.g. Transferring users to another server on upgrade.
2019-10-14 11:03:03 +01:00
Peter Powell
51b9b4c9b4
Add GetTypeStr to the DNS API.
2019-10-13 22:05:19 +01:00
Peter Powell
4d2391ee09
Show the list modes which have variable list lengths in 005.
2019-10-01 12:32:40 +01:00
Peter Powell
554308f654
Add null pointer checks to IS_{LOCAL,REMOTE,SERVER}.
...
I don't know of any places this causes issues but its better to be
safe than sorry.
2019-09-29 19:52:05 +01:00
Peter Powell
65f74be719
Add the OnServerBurst hook and fix the docs for OnServerLink.
2019-09-23 13:18:21 +01:00
Peter Powell
cf5d382b82
Add whether the server split with an error to OnServerSplit.
2019-09-23 13:18:19 +01:00
Peter Powell
a4305d8f3c
Add the server id to the Server class.
2019-09-23 13:18:14 +01:00
Sadie Powell
8848169e8b
Merge branch 'insp3' into master.
2019-09-23 00:37:33 +01:00
Peter Powell
0d6a4a31d8
Add GetNumericToken to sepstream.
...
This removes some boilerplate when retrieving numeric types.
2019-09-03 12:28:58 +01:00
Peter Powell
5cf6f65044
Document ConfigStatus and add a way to detect the initial load.
2019-09-02 15:17:30 +01:00
Peter Powell
400de0ab00
Release v3.3.0.
2019-08-23 11:14:07 +01:00
Sadie Powell
eeb6dcec60
Replace LocalIntExt with IntExtItem.
2019-08-13 19:08:17 +01:00
Sadie Powell
07ed06ebe5
Rewrite and merge LocalStringExt, StringExtItem.
2019-08-13 18:12:59 +01:00
Sadie Powell
21664767f0
Move the Module parameter of ExtensionItem et al to the start.
...
This matches what other ServiceProvider types do.
2019-08-13 17:36:19 +01:00
Sadie Powell
b39bd5f49c
Rename ExtensionItem::free to ExtensionItem::Delete.
2019-08-13 16:59:04 +01:00
Sadie Powell
aca4503481
Merge branch 'insp3' into master.
2019-08-13 15:43:26 +01:00
Peter Powell
0827c5c742
Free StringExtItem and SimpleExtItem values correctly.
2019-08-13 15:02:25 +01:00
Peter Powell
703ba72071
Convert LocalExtItem to a typedef and deprecate it.
2019-08-13 15:02:25 +01:00