| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
This fixes messages being lost when sending them to a user who has
only just connected to the server.
|
| |
|
|
|
|
|
|
|
|
| |
- 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>
|
| | |
|
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
|
| | |
| |
| |
| |
| | |
This removes the need to invalidate the cache after changing a
user's hostname.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
UserManager::AddUser()
|
| | | |
|
| |\| |
|
| | |
| |
| |
| | |
internal SocketEngine error happens and the user is quitted
|
| | | |
|
| | |
| |
| |
| | |
This adds the <bind:hook> config option which works together with <bind:ssl>
|
| | |
| |
| |
| | |
parameters
|
| | | |
|
| | |
| |
| |
| | |
into UserManager
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
- Moved out of core, now lives entirely in core_channel
- Accessible using the provided API after including the appropriate header
- Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS
- Expiration of timed invites are implemented using Timers
- When creating a new invite let a non-timed invite override a timed one
|
| | | |
|
| | | |
|
| |\| |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.
|
| | | |
| | |
| | |
| | | |
This is specified in RFC 1459 so we should probably use it.
|
| |/ / |
|
| | |
| |
| |
| | |
Been bugging me that users ping timeout at 121 rather than 120 seconds by default.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
containing it
|
| | | |
|
| | |
| |
| |
| | |
We can cope with fds greater than SocketEngine::GetMaxFds() since 3752b3f59d5216d7dc6221a361efc76b9ad2273d
|
| | | |
|
| | |
| |
| |
| | |
object containing it
|
| | |
| |
| |
| | |
object containing it
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Create one IOHook instance for each hooked socket which contains all the
hook specific data and read/write/close functions, removing the need for
the "issl_session" array in SSL modules.
Register instances of the IOHookProvider class in the core and use them to
create specialized IOHook instances (OnConnect/OnAccept).
Remove the OnHookIO hook, add a dynamic reference to ListenSocket that
points to the hook provider (if any) to use for incoming connections on
that socket.
For outgoing connections modules still have to find the IOHookProvider
they want to use themselves but instead of calling AddIOHook(hookprov),
now they have to call IOHookProvider::OnConnect() after the connection
has been established.
|
| | |
| |
| |
| |
| |
| | |
- Make operreason optional; NULL means same as quitreason
- Remove User::quietquit, it is now handled internally in spanningtree
- Send snotice about quitting remote users from spanningtree
|
| | |
| |
| |
| |
| | |
- Remove default constructor
- Replace virtual functions returning C strings with functions returning const std::string refs
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Create FileSystem class:
* Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite.
* Move ServerConfig::ExpandPath to FileSystem.
* Move ServerConfig::FileExists to FileSystem.
* Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem.
- Move FileReader to fileutils.cpp and fix documentation.
- Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
|
| | |
| |
| |
| | |
This name is more descriptive of what is actually is used for.
|
| | | |
|
| | |
| |
| |
| | |
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
|
| | | |
|
| | | |
|