Age | Commit message (Collapse) | Author |
|
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
|
|
- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK)
- Do not set Membership::modes in ForceJoin() incorrectly to privs
- Fix crash when spanningtree detects a configuration error on load
|
|
use it
|
|
|
|
|
|
|
|
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 Handle() method is not part of CommandBase, making it possible to provide a different Handle() in each class derived from CommandBase
|
|
|
|
|
|
- Deduplicate getcompilerflags, getdependancies, getlinkerflags.
- Remove $NoPedantic (add -Wno-pedantic to $CompileFlags instead).
- Remove --enable-freebsd-ports-openssl and all related code (this
will be replaced with --no-pkg-config=[name] in the future).
- Remove some unused build system properties.
- Remove support for caching third party include and library paths
(can cause unexpected problems when they change).
|
|
|
|
|
|
GnuTLS versions
Use the (old) LIBGNUTLS_VERSION_* defines as a fallback when GNUTLS_VERSION_* is unavailable
Fixes #595 reported by @rhylan
|
|
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
|
|
|
|
|
|
- Move references and pointers next to the type.
- Rename match_internal to MatchInternal.
- Remove duplicate NULL check on map in MatchCIDR.
|
|
Also, make all paths in the config relative to their associated
directory. This reverts a change in 2.0 which turned out to be a
terrible idea, especially for system-wide installations.
|
|
|
|
This name is more descriptive of what is actually is used for.
|
|
|
|
Almost every single case I have seen where this has been done has
been an accident.
|
|
RFC 1459 says this field is for comments about the version. If the
operator has no comments then we should not show any.
|
|
|
|
|
|
This name is more descriptive and avoids a double negative which
could make the name of this setting unclear to non-native speakers.
|
|
|
|
ChangeName()
Pass the string itself to IsIdent() instead of string.c_str()
|
|
|
|
- Wrong doc for Snomask::GetDescription()
- Incorrect idle time when WHOISing remote users
- String + int = garbage
- Remote MODE commands (user mode changes) being broadcast in addition to being forwarded
- Incorrect revision being shown
|
|
|
|
Simplify the way how m_conn_umodes assembles the modes it sets
|
|
them from clientlist
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
- Add the data and log paths to dumphash.
- Always exit with EXIT_FAILURE on error.
- Always replace the old config.h with our new one.
- Clean up the ./configure --help message slightly.
- Install dhparams.pem into the conf directory on GnuTLS as well as
OpenSSL.
- Only show the users InspIRCd Git revision when building from Git.
- Remove a check for MinGW (we have proper Windows builds).
- Remove a check for FreeBSD 4 (released in 2000).
- Remove a ton of pointless tab-indented comments.
- Remove a ton of duplicate or unused variables.
- Remove the check for stdint.h (always available on TR1 compilers).
- Remove the $writeheader argument from writefiles (always 1).
- Remove the following %config options:
- DESTINATION (not used, always set to BASE).
- EXECUTABLE (always set to inspircd).
- OSNAME (duplicate of SYSTEM).
- Remove support for checking whether -extra modules are up to
date (if the user is installing they won't have any -extra
modules installed).
- Remove SSL generation messages (genssl provides these).
- Replace inappropriate uses of printf with print.
- Replace is_dir with -d from the Perl stdlib.
- Replace resolve_directory with rel2abs from the Perl stdlib.
- Rewrite getrevision to be more compact, cache the revision and
return 'release' on non-Git builds.
- Use consistent messages for all tests.
- Use tput to clear the screen in a portable way.
|
|
|
|
|
|
|
|
|
|
|
|
certain cases, spotted by @Robby-
|
|
|
|
initialization code into init()
|
|
|