summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-08Remove ModuleManager::ModCount and GetCount()attilamolnar
2013-09-08Fix module loading in PURE_STATIC buildsattilamolnar
2013-09-08Fix compile warnings as seen on g++ 4.4.7Adam
2013-08-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-30Merge insp20attilamolnar
2013-08-30Don't CoreExport reference, fixes m_dnsbl on Windowsattilamolnar
The explicit instantiations of reference are now useless; remove
2013-08-28Release 2.0.14attilamolnar
2013-08-28m_permchannels Fix empty topic setbyattilamolnar
2013-08-28Update COPYING file with new FSF address.Christopher 'm4z' Holm
This should make rpmlint stop complaining about the incorrect FSF address. All changes taken from: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2013-08-28m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ↵attilamolnar
when two TOPIC messages cross TOPIC is no longer accepted from servers using the new protocol
2013-08-27Fix fd and minor memory leak in threadengine_pthread on unload of m_mysqlattilamolnar
2013-08-27Fix crash caused by passing a large integer to ctime()attilamolnar
In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds Reported by @JDowny
2013-08-27m_permchannels Add the ability to save listmodesattilamolnar
2013-08-27m_permchannels Save channel TS, topic set time and set by informationattilamolnar
When loading, ignore and log channels with a name longer than Limits.MaxChan
2013-08-27m_permchannels Construct the final line that will be saved in a std::string ↵attilamolnar
in WriteDatabase()
2013-08-27Update example configs, README.md and moreattilamolnar
- Fix typos, remove misleading information, rephrase a few sentences - Add info about hmac-<hash> hash types - Remove <performance:maxwho> (the code which used this was removed in 96e4434 - @SaberUK) - Change inspircd.github.org to inspircd.org
2013-08-27m_spanningtree Introduce command buildersattilamolnar
2013-08-27m_spanningtree Changes to TreeSocket::WriteLine() to avoid string copiesattilamolnar
- 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
2013-08-27Fix Windows build and a few more problemsattilamolnar
2013-08-27Fix indentationattilamolnar
2013-08-27Allow jmpsrv to handle SSL-connected clients correctly - also allow clients ↵Daniel Vassdal
to use the port they're currently using.
2013-08-27Merge pull request #619 from SaberUK/master+regex-dedupeAttila Molnar
Various regex module improvements.
2013-08-27Fix various small issues.Peter Powell
- Add CXX11_OVERRIDE to *Regex::Matches and *RegexFactory::Create. - Fix documentation comment on regex_string. - Fix various code duplication/layout issues.
2013-08-27Make all regex modules throw the same exception on error.Peter Powell
2013-08-25m_spanningtree Allow server-to-server command handlers to specify whether ↵attilamolnar
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()
2013-08-25Clean up the protocol interfaceattilamolnar
2013-08-24Merge pull request #616 from ShutterQuick/inspircd+chanhistbotAttila Molnar
Option to select if chanhistory is on for bots
2013-08-24Option to select if chanhistory is on for botsDaniel Vassdal
2013-08-22m_spanningtree Add TreeServer::GetChildren() that replaces ChildCount() and ↵attilamolnar
GetChild()
2013-08-22m_spanningtree Remove duplicate code for sending channel messages from ↵attilamolnar
RouteCommand()
2013-08-22m_spanningtree Implement DoOneToMany() using DoOneToAllButSender()attilamolnar
2013-08-22m_spanningtree Change TreeServer::GetSocket() to always return the socket ↵attilamolnar
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
2013-08-22Fix a few problemsattilamolnar
- 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
2013-08-21m_spanningtree When an IOHook goes away close all pending connections that ↵attilamolnar
use it
2013-08-21m_dnsbl Fix possible use-after-free after a rehashattilamolnar
2013-08-19Remove cmd_map from the coreattilamolnar
2013-08-19m_spanningtree Minor cleanup of functionsattilamolnar
2013-08-18m_spanningtree Move all server-to-server command handlers into handler classesattilamolnar
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.
2013-08-18Create the CommandBase class from Commandattilamolnar
The Handle() method is not part of CommandBase, making it possible to provide a different Handle() in each class derived from CommandBase
2013-08-18m_spanningtree Propagate oper-only quit reason using METADATA, remove OPERQUITattilamolnar
2013-08-18Merge pull request #609 from SaberUK/master+configure-sub-shuffleAttila Molnar
Clean up and move various subroutines.
2013-08-18Clean up and move various subroutines.Peter Powell
- 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.
2013-08-17m_spanningtree Remove SpanningTreeUtilities* fields and parametersattilamolnar
2013-08-17Merge pull request #608 from SaberUK/master+buildprop-dedupeAttila Molnar
Clean up the build system properties and related code.
2013-08-16Clean up the build system properties and related code.Peter Powell
- 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).
2013-08-15Remove $ModDep commentsattilamolnar
2013-08-13Store oper types and opers in separate containersattilamolnar
2013-08-13m_ssl_gnutls Fix feature testing and cipher suite related errors on older ↵attilamolnar
GnuTLS versions Use the (old) LIBGNUTLS_VERSION_* defines as a fallback when GNUTLS_VERSION_* is unavailable Fixes #595 reported by @rhylan
2013-08-12Clean up a few constructorsattilamolnar
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead