Age | Commit message (Collapse) | Author |
|
- 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
|
|
|
|
|
|
to use the port they're currently using.
|
|
Various regex module improvements.
|
|
- Add CXX11_OVERRIDE to *Regex::Matches and *RegexFactory::Create.
- Fix documentation comment on regex_string.
- Fix various code duplication/layout issues.
|
|
|
|
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()
|
|
|
|
Option to select if chanhistory is on for bots
|
|
|
|
GetChild()
|
|
RouteCommand()
|
|
|
|
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
|
|
|
|
|
|
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
|
|
|
|
Clean up and move various subroutines.
|
|
- Fix indentation of get_compiler_info and clean up slightly.
- Move module_installed to make::utilities.
- Remove promptnumeric (unused).
- Rename clean to cmd_clean and rewrite.
- Rename dir_check to prompt_bool and rewrite.
- Rename dumphash to dump_hash.
- Rename getcache to read_configure_cache and rewrite.
- Rename getrevision to get_revision.
- Rename makecache to write_configure_cache and rewrite.
- Rename promptstring_s to prompt_string and rewrite.
- Rename showhelp to cmd_help and rewrite.
- Rename update to cmd_update and rewrite.
- Rename yesno to prompt_bool and rewrite.
- Replace getmodules with a <src/modules/m_*.cpp> glob.
|
|
|
|
Clean up the build system properties and related code.
|
|
- 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).
|
|
|
|
|
|
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
|
|
|
|
|
|
Clean up wildcard code.
|
|
- Move references and pointers next to the type.
- Rename match_internal to MatchInternal.
- Remove duplicate NULL check on map in MatchCIDR.
|
|
Various patches relating to configuration.
|
|
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
|