InspIRCd Robot
8e784862f5
Update copyright headers.
2024-09-07 11:10:36 +01:00
Sadie Powell
591cb8e0b9
Const correct the xline header.
2024-09-03 11:09:54 +01:00
InspIRCd Robot
ae3e2db109
Update copyright headers.
2024-06-07 10:37:56 +01:00
Sadie Powell
e6d342d89f
Make the X-line quit message format a lot more flexible.
2023-07-21 18:12:46 +01:00
Sadie Powell
1e20faa07f
Misc grammar fixes.
2023-06-29 19:29:59 +01:00
Sadie Powell
29705306f2
Retain the "real" username properly like we do for hostnames.
...
This introduces the concept of a real username. This value comes
from either the initial USER message or from an ident lookup. Doing
this allows us to use it for bans through vidents and cloaking web
client users using their remote username.
While changing this I also changed all of the uses of "ident" other
than RFC 1413 lookups and some compatibility cases to refer to
usernames as user(name) instead of ident. Our use of ident in these
places was incorrect as that only refers to the RFC 1413 response
and is not commonly used in the way we used it by any other IRC
server implementations.
2023-06-29 17:01:25 +01:00
Sadie Powell
6348a2e4bc
Misc XLine cleanup.
2023-06-05 14:40:52 +01:00
Sadie Powell
fabd86ab97
Make XLine::Matches const.
2023-06-05 14:31:29 +01:00
Sadie Powell
1367e66500
Add a DelLine override that takes an XLine pointer.
2023-06-05 14:22:42 +01:00
Sadie Powell
a4b95340b7
Make XLine::Displayable const.
2023-06-05 14:22:42 +01:00
Sadie Powell
c4858e2a11
Convert DelLine from const char* to const std::string&.
2023-05-30 20:37:48 +01: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
45e56e5ee1
Yet more stylistic fixes.
2022-12-01 05:25:01 +00:00
Sadie Powell
8af4e2f9a2
Move xline-related typedefs from typedefs to the xline header.
2022-10-29 17:06:29 +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
2a0cce9d46
Fix more warnings discovered with -Weverything.
2022-09-05 21:14:36 +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
d79147e7af
Abolish the infernal space before accessibility keywords.
2022-01-25 14:02:36 +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
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
4e488cb54d
Refactor classbase/CullResult into Cullable/Cullable::Result.
2021-03-02 05:56:56 +00:00
Sadie Powell
579a17df38
Clean up a bunch of contructors and destructors.
2020-11-01 02:22:41 +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
7bdd72f634
Merge branch 'insp3' into master.
2020-02-19 01:29:45 +00:00
Sadie Powell
2e0cc3684d
Generalise XLine stats numerics using RPL_STATS from aircd.
2020-02-18 18:56:14 +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
1fff2f7f87
Merge branch 'insp3' into master.
2019-03-30 22:06:19 +00:00
Matt Schatz
9b25df3109
Improve the handling of config X-lines and filters. ( #1583 )
2019-02-22 13:44:57 +00:00
Sadie Powell
bfa5fb407e
Merge branch 'insp3' into master.
2019-02-05 00:47:30 +00:00
Sadie Powell
c78ecdf579
Replace the override macro with the override keyword.
2019-01-25 02:52:11 +00:00
Matt Schatz
d5b50d9ed1
Add the reason to xline removal notices. ( #1545 )
...
Show the reason in manual xline removal SNOTICEs, just like
expiry SNOTICEs do.
This modifies XLineManager::DelLine() to require another string
reference passed to it.
Requested by @Robby-.
2019-01-24 16:01:56 +00:00
Matt Schatz
f2e3fd5952
Improve X-line text consistency.
...
- Change any "-Line", ":Line", or "*line" to "-line" throughout
the X-line code, comments, and documentation.
- Add periods to the end of some notices.
- Correct a typo in the Q-line code comments.
- Update the filter module documentation (shun addition).
Co-authored-by: Robby <robby@chatbelgie.be>
2019-01-09 10:07:09 +00:00
Peter Powell
ee7db9bbfb
Store durations as unsigned long not long in XLine and m_filter.
2018-12-13 14:20:43 +00:00
Peter Powell
876b1ae4e2
Don't sync xlines defined in the config and expire them on rehash.
...
Closes #1427 .
2018-09-23 13:35:15 +01:00
Peter Powell
91e0af0fc4
Add the override keyword in places that it is missing.
...
GCCs warnings for this are much better than Clangs.
2017-11-21 15:51:45 +00:00
Attila Molnar
304b6dbbf5
Introduce Stats::Context, pass it to the OnStats hook and switch all code to it
2016-02-25 17:02:03 +01:00
Attila Molnar
d02011d69f
Remove whitespace and minor style changes
2014-01-23 14:37:09 +01:00
Peter Powell
48033e9b3a
Convert XLine::Displayable to return a std::string.
2013-05-21 22:11:27 +01:00
Peter Powell
11cafc12d5
Tidy up source files:
...
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
2013-04-12 17:03:05 +01:00
attilamolnar
8c4dfd8add
XLine: Provide a default implementation for DisplayExpiry()
2013-04-09 18:30:50 +02:00
Peter Powell
808a0a0957
Fix Doxygen syntax errors.
2012-07-05 21:00:35 +01:00
Robby-
46a3904619
Replace copyright headers with headers granting specific authors copyright
2012-04-19 20:58:29 +02:00
Justin Crawford
df5f76832e
Fixes for bug #12
2012-04-14 18:03:25 -07:00
brain
cd712c40e1
...because every now and again, i have to do a massive commit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11 03:07:32 +00:00