| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
- Remove the address/port overloads of BeginConnect.
- Change DoConnect to take a sockaddrs instead of an address/port.
|
| |
|
|
|
|
|
|
|
|
| |
- 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>
|
| | |
|
| |
|
|
|
|
|
| |
The former was a thin wrapper around atol and brought with it all
of the weird parsing logic of atol which is almost never what is
actually wanted. It also almost never returned the numeric type
which is actually wanted which can cause weird issues when casting.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205
protocol. These have entirely been superceded by the CHANMODES
and USERMODES CAPAB commands.
- Only compare the 1202 PREFIX tokens if the remote server did not
send CAPAB CHANMODES. This replicates the existing behaviour
used for the CHANMODES token.
- Fix checking whether the remote server has an appropriate case
mapping. If it is not sent we assume it is the same as the local
server as always. This should prevent issues with people using
services packages that do not send this token yet.
- Fix checking if the user modes are mismatched and then promptly
overwriting the error message with mismatched channel modes.
- Fix servers not being able to tell whether a mode on the remote
server is a prefixless prefix mode. Requires the 1205 protocol.
- Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not
checking the type of those modes. Requires the 1205 protocol.
|
| |
|
|
|
| |
This is presently a typedef but will soon be replaced with a class
that encapsulates both tags and parameters.
|
| |
|
|
|
| |
This fixes a ton of warnings when building on compilers that
default to C++11 or newer.
|
| |
|
|
| |
Make methods const while at it
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
translation
|
| | |
| |
| |
| | |
doing any translation for old protocol servers
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
command into a function
|
| | |
| |
| |
| | |
data about a server
|
| | | |
|
| | |
| |
| |
| | |
Remove Module::ProtoSendMetaData()
|
| | |
| |
| |
| | |
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
|
| | |
| |
| |
| |
| | |
- Change argument type to a reference to avoid copies of the string object
- If the std::string implementation is using copy-on-write then calling operator[] on a mutable string results in a copy; avoid this by calling .c_str() instead
|
| | |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
- Remove virtual keyword from a ton of methods which don't need it.
- Add override keyword to a ton of methods which do need it.
|
| |\| |
|
| | |
| |
| |
| | |
they've accepted our credentials, not when they send SERVER
|
| | |
| |
| |
| | |
burst
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Rename it to SyncChannel() and change it to take a Channel* parameter, move iteration into DoBurst()
|
| | |
| |
| |
| |
| |
| | |
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.
|
| |/
|
|
| |
56cae0f3a484cbcb20569b68917f1810a0c2f4a4
|
| | |
|
| | |
|
| |
|
|
| |
introduced to the network, use it to determine when to send SQUIT
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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@12432 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
|
|
|
| |
Default implementation uses libc random(), which can be better than rand().
If gnutls is loaded, gcrypt will be used to provide random numbers.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12404 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@12302 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12301 e03df62e-2008-0410-955e-edbf42e46eb7
|
| |
|
|
| |
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
|