109 Commits

Author SHA1 Message Date
InspIRCd Robot
9f0f434771 Update copyright headers. 2024-11-02 08:42:20 +00:00
Sadie Powell
b21ec4e9a9 Count services in the global user count.
This behaviour was always kinda broken so lets just drop it.
2024-10-10 15:11:56 +01:00
Sadie Powell
ca6ccac8b0 Merge branch 'insp3' into insp4. 2024-10-10 15:03:21 +01:00
Sadie Powell
5eb21f239b When a server stops being ulined remove its users from the uline list. 2024-10-10 14:47:24 +01:00
InspIRCd Robot
ae3e2db109 Update copyright headers. 2024-06-07 10:37:56 +01:00
Sadie Powell
9e985f5979 Add some overloads of Find{Nick,UUID,} for local/remote users. 2023-01-07 04:36:31 +00:00
Sadie Powell
d048778f78 Merge branch 'insp3' into master. 2023-01-01 13:19:45 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
7673db8d1b Pass the client/server sockaddr around as a ref instead of a ptr. 2022-12-25 13:06:50 +00:00
Sadie Powell
12518ce966 Add nullability attributes to UserManager. 2022-12-25 12:48:26 +00:00
Sadie Powell
41926908ec Fix some types which were missed when making stuff final. 2022-10-30 12:58:38 +00:00
Sadie Powell
6fc111ccb6 Rename session registration to connection to avoid a semantic conflict.
We previously referred to both session registration and user registration
as "registration" which is confusing for users who aren't familiar with
how IRC works.
2022-10-29 15:54:59 +01:00
Sadie Powell
a46b8b8ede Allow UserManager::Find{Nick,UUID,} to ignore unregistered users. 2022-10-29 13:01:42 +01:00
Sadie Powell
0d686818a2 Revert the previous commit slightly to work around a bug in Clang. 2022-10-22 15:11:39 +01:00
Sadie Powell
3928f478f1 Assign more class members inline instead of in the constructor. 2022-10-21 17:15:10 +01:00
Sadie Powell
1cdf4a5ca1 Rename user_hash to UserMap and move to usermanager. 2022-10-07 20:03:05 +01:00
Sadie Powell
04b4b81a0a Inline the one use of ServerNoticeAll and rm the function. 2022-10-01 02:00:48 +01:00
Sadie Powell
89537ed2ab Fix various cases of the &* being next to the name instead of type. 2022-09-29 12:36:01 +01:00
Sadie Powell
9203f40f41 Fix some warnings noticed by the readability-* clang-tidy checkers. 2022-09-03 23:17:05 +01:00
Sadie Powell
648f813f8c Switch from NULL to nullptr. 2022-07-22 18:53:21 +01:00
Sadie Powell
d79147e7af Abolish the infernal space before accessibility keywords. 2022-01-25 14:02:36 +00:00
Sadie Powell
94d42ad3ba Rename CUSTOM_PRINTF to ATTR_PRINTF.
ATTR_* matches the naming scheme which will be used for function
attributes from now on.

Also, redocument it to have a better description and allow Doxygen
to parse it.
2022-01-15 15:15:42 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
79b7d48427 Fix some places where U-line -> service was missed. 2021-08-29 01:48:27 +01:00
Sadie Powell
d8019f87b3 Fix various uses of the _t suffix which is reserved by POSIX. 2021-04-17 22:44:13 +01:00
Sadie Powell
7d84e4900f Fix a ton of pedantic compiler warnings. 2021-04-04 23:42:15 +01:00
Sadie Powell
1e1cf527d2 Merge branch 'insp3' into master. 2021-03-05 02:32:35 +00:00
InspIRCd Robot
7b1ab06a95 Update copyright headers. 2021-03-05 02:16:11 +00:00
Sadie Powell
c22c7e5a99 Merge branch 'insp3' into master. 2021-02-28 19:16:40 +00:00
Sadie Powell
e8514f7149 Replace all internal references to uline with services. 2021-01-30 14:20:25 +00:00
Sadie Powell
b755d2a778 Merge branch 'insp3' into master. 2020-05-05 22:03:14 +01:00
InspIRCd Robot
44489ddf7e Update copyright headers. 2020-04-24 10:23:47 +01:00
InspIRCd Robot
4f9abe96a4 Fixes by misspell-fixer 2020-04-21 00:52:12 -06:00
Sadie Powell
b9acde9aaf Merge branch 'insp3' into master. 2020-03-18 13:51:23 +00:00
Sadie Powell
1efc234a54 Implement support for the SERVLIST command. 2020-03-12 17:51:03 +00:00
Sadie Powell
84eb33d4c3 Move FindNickOnly to UserManager. 2020-02-09 19:24:26 +00:00
Sadie Powell
61070d4894 Move FindNick to UserManager. 2020-02-09 17:19:31 +00:00
Sadie Powell
1cdffcaad7 Move FindUUID to the UserManager class. 2020-02-09 17:16:07 +00:00
Sadie Powell
98e4ddfb21 Use C++11 inline initialisation for class members. 2020-02-06 11:25:42 +00:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
f856d5ab8a Merge branch 'insp3' into master. 2020-01-01 12:33:10 +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
Sadie Powell
e75f03d32f Merge branch 'insp3' into master. 2019-02-15 16:24:02 +00:00
Peter Powell
f5b2265c2e Refactor UserManager::DoBackgroundUserStuff(). 2019-02-15 11:35:24 +00:00
Sadie Powell
2cc168cfc0 UserManager: remove fakederef. 2019-02-07 12:18:12 +00:00
Peter Powell
a62ae50007 Fix a bunch of Doxygen warnings. 2017-08-26 09:58:15 +01:00
Attila Molnar
dfc00bf4ad Update UserManager documentation and comments 2016-08-24 12:41:02 +02:00
Attila Molnar
aa05a6fd4d Remove UserManager::GarbageCollect() 2015-11-03 13:16:19 +01:00