| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- ServiceProvider is now Service::Provider
- DataProvider is now Service::SimpleProvider (the old name does
not really make sense now we don't have SERVICE_DATA and the
only difference is automatic registration.
- Some members of ModuleManager have been elevated to the Service
namespace in case other code wants to use them.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- The default prefix modes are now separate from the default channel
modes. This should result in less accidentally broken configs.
- The privs are now pre-parsed to a list of mode references. This
should improve performance slightly as the repeated mode lookups
are gone. It also allows us to write warnings to the debug log
when the default privs are invalid.
- Channels can now have a default topic.
|
| |\| |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- ServiceType is dead. All modules use RegisterService now.
- Modules can implement UnregisterService which is called from
DelService now.
- Split the service type prefix into its own field.
- Renamed Service::name to Service::service_name. This revealed
a few bugs.
|
| | | |
|
| |\| |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
"ERROR" is apparently defined by more than just Windows. Let's
pick a different name which is less likely to cause collisions.
|
| |
|
|
|
|
|
| |
The custom codes that InspIRCd exits with are not very useful and can confuse init systems like systemd which assume that certain
exit codes mean certain things. INSPIRCD_BINARY_EXIT was a workaround
for this in v3 but considering thatsers have to check the logs anyway
so we may as well just use EXIT_SUCCESS and EXIT_FAILURE.
|
| |
|
|
|
|
|
|
|
| |
This supports more platforms (e.g. Haiku) and is actually still
maintained unlike the former.
All of this code should really be cleaned up for release (maybe by
adding something like Anope's LOG_CONSOLE) but for now I've just
replaced it with the fmtlib equivalent.
|
| | |
|
| |
|
|
| |
These have not ever been used as far as I can see.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
Metadata is one word not two so it shouldn't be capitalised like this.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
- Rename from (On)PassCompare to (On)CheckPassword.
- Fix the order of the arguments to be password, hash, value. This
makes more sense than what it was previously.
- Fix the code documentation to not be complete nonsense and not
reference ancient outdated APIs.
|
| | |
|
| |
|
|
| |
All of these are harmless and should never cause an issue in practise.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Move core connect class checks and <performance:clonesonconnect>
to the core_user module.
- Add pre-change and post-change events for when a connect class
changes.
- Split explicit class changing out into its own method.
- Remove the need to almost always call CheckClass after SetClass.
- Add use counting to the connect class instead of relying on the
shared_ptr use count.
|
| |\ |
|
| | | |
|
| | | |
|