| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
In the future we will have server linking modules that are not the
spanningtree module.
|
| | |
|
| | |
|
| |
|
|
| |
Switch to stdalgo::string::equalsci()
|
| |
|
|
| |
This adds the <bind:hook> config option which works together with <bind:ssl>
|
| | |
|
| |
|
|
| |
Make methods const while at it
|
| |
|
|
| |
substr() returns a new string while erase() and assign() modify the existing one
|
| |
|
|
| |
shouldn't
|
| |
|
|
| |
timer tick
|
| |
|
|
| |
everything under it recursively at cull time instead of at squit processing time
|
| | |
|
| | |
|
| |
|
|
| |
translation
|
| |
|
|
|
|
| |
returning CMD_INVALID
Catch CoreExceptions, log and close the link in OnDataReady()
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
TreeSocket::Squit()
While the previous code worked fine in practice, it was incorrect in theory
|
| | |
| |
| |
| | |
The snotice is sent to opers when the SQUIT is processed by their server
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| | |
- Handle the case when servers SQUIT themselves
- Fix extra space in channel messages
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
they accept servers, remote users or both as the command source
To make life easier for handlers accepting servers only as source, pass them a TreeServer* so they don't have to call FindServer()
|
| | |
| |
| |
| | |
GetChild()
|
| | |
| |
| |
| |
| |
| |
| |
| | |
that can be used to talk to the server
The only exception is the tree root (us) which has no associated socket (NULL)
Add TreeServer::IsRoot() and IsLocal() helpers
|
| | |
| |
| |
| | |
These commands are not registered in or called by the core. When looking for the handler of a command a new command table is searched first which contains all server-to-server commands. If a handler cannot be found in there, the core command table is consulted.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The majority of modules were logging with their module name as the
log type. There was a few places which were logging to a non-name
type but, with the exception of CONFIG, those messages are so
uncommon that it doesn't make sense to use a seperate type for
them.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
|
| |/ |
|
| |
|
|
|
|
| |
std::string::c_str() when the object is temporary
See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
|
| | |
|
| | |
|
| |
|
|
| |
introduced to the network, use it to determine when to send SQUIT
|
| |
|
|
|
|
| |
the network
Fixes issue #103 reported by @nenolod
|
| | |
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12508 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
| |
negotiation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12452 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12451 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12435 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
| |
unauthenticated servers
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12370 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12369 e03df62e-2008-0410-955e-edbf42e46eb7
|