summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-13Kill some logically dead code detected by Coverity.Peter Powell
- m_watch: wl has already been confirmed to not be NULL on L161.
2014-10-13Replace dodgy use of const char* and memcpy with std::string.Peter Powell
This was backported from commit e01df63 in master.
2014-10-06Merge pull request #931 from SaberUK/insp20+fix-non-gnu-stlAttila Molnar
Fix hash_map.h on non-GNU C++ standard library implementations.
2014-10-06Merge pull request #930 from rburchell/revertfixAttila Molnar
Revert "Fix an off-by-one on registration timeout handling."
2014-10-05Fix hash_map.h on non-GNU C++ standard library implementations.Peter Powell
2014-10-05Revert "Fix an off-by-one on registration timeout handling."Robin Burchell
This seemingly breaks (occasionally timing users out a second early), possibly due to rounding issues on time (User::age and Time() both return int, but a whole second is comprised of many ms). The root cause needs investigation, but we cannot leave a potentially breaking bug in the tree. This reverts commit 4414d644a163f3906f90b35186e07ce0383161f4.
2014-10-04Merge pull request #929 from rburchell/insp20Attila Molnar
Fix an off-by-one on registration timeout handling.
2014-10-04Fix an off-by-one on registration timeout handling.Robin Burchell
The use of > instead of >= here added a second onto the configured timeout. We won't be breaking any existing configuration, because users.h explicitly increases the limit if it's 0.
2014-10-03m_ssl_gnutls Re-set DH params when the gnutls_certificate_credentials_t ↵Attila Molnar
struct is reallocated
2014-09-26Reject parameters that begin with a colon in Channel::SetDefaultModes()Attila Molnar
2014-09-26Don't try to set a mode in Channel::SetDefaultModes() if it needs a ↵Attila Molnar
parameter but does not have one Thanks to @docwhat for helping to track this down, fixes issue #924
2014-09-08Remove IPv6 address compaction.Adam
This code is incorrect and can produce addresses with multiple double colons. No other IRCds do this and most systems today will give us the compact version anyway. Issue #914
2014-09-08Do not use the result of the dns cache when the query type of the result is ↵Adam
different from the type of the query. #66
2014-09-02m_sqlite3 Fix cleanup of unsuccessful database connectionsAttila Molnar
2014-08-31Merge pull request #910 from SaberUK/insp20+even-more-build-system-fixesAttila Molnar
Fix unit-cc not loading configure cache when building files.
2014-08-27Fix unit-cc not loading configure cache when building files.Peter Powell
2014-08-19Merge pull request #900 from SaberUK/insp20+build-system-fixesAttila Molnar
[2.0] Fix various problems with the build system.
2014-08-19Add a work around for trampling over PKG_CONFIG_PATH.Peter Powell
The extend_pkg_path method will be removed in 2.2 as it causes problems with non-standard pkg-config paths. This commit adds a workaround until that happens.
2014-08-19Fix pkg-config not being used for OpenSSL on non-FreeBSD systems.Peter Powell
2014-08-06Merge pull request #899 from SaberUK/insp20+fix-listmode-limitsAttila Molnar
[2.0] Fix listmodes when the config does not specify a wildcard size entry.
2014-08-03Fix listmodes when the config does not specify a wildcard size entry.Peter Powell
2014-07-24Release v2.0.17Attila Molnar
2014-07-24Update example configuration files, fix typos and caseAttila Molnar
Mention m_regex_stdlib in the list of regex providers after m_filter
2014-07-24m_spanningtree Always treat the remote client as the winner on nick ↵Attila Molnar
collision if the nick is used by a (local) client that isn't fully registered
2014-07-24Make sure the DN strings obtained from the SSL mods are always validAttila Molnar
2014-07-23Update aliases/anope.conf.exampleAdam
2014-07-19m_hideoper: Hide hidden opers from /stats P. #874Adam
2014-06-29Merge pull request #878 from SaberUK/insp20+fix-minor-issuesAttila Molnar
Fix various small problems with configure.
2014-06-26Fix various small problems with configure.Peter Powell
- Fix temporary files not being deleted after use. - Fix the option for disabling rpath. - Fix the help message: * Fix indentation of some help options. * Fix default paths not containing 'run'. * Remove documentation for --disable-ipv6 (exists but does nothing). * Remove documentation for --library-dir (does not exist). - Fix some minor errors in messages.
2014-06-26Merge pull request #879 from SaberUK/insp20+fix-denychansAttila Molnar
Fix copy/paste error in m_denychans.
2014-06-24Fix copy/paste error in m_denychans.Peter Powell
2014-06-18m_chghost Allow ulined servers to change the host of unregistered users (for ↵Attila Molnar
SASL)
2014-06-15Merge pull request #872 from theckman/remove_whitespace_from_docsAttila Molnar
Remove whitespace from docs
2014-06-14remove unneeded whitespace from the docs/examplesTim Heckman
2014-06-07Fix harmless loop off-by-ones found by Moonlightningsatmd
2014-06-06m_spanningtree Forward NICK messages when they cause a collision with the ↵Attila Molnar
new nick param rewritten to the uuid Suppressing these messages meant that we relied on an appropriate NICK to come from the direction the SAVE was sent to; this left all servers behind us uninformed until the target server of the SAVE reacted with a nick change to uuid. This was problematic because someone can legitimately change nick to the past nick of the SAVEd user on a server that already has the SAVEd user with the uuid nick and that nick change message can reach servers that haven't yet seen the nick change to uuid of the SAVEd user.
2014-06-06m_spanningtree Fix cleanup of connections when unloading a module that ↵Attila Molnar
provides an IOHook
2014-05-21Update server.cppDan Parsons
Rewrote "invalid credentials" error message to remove confusion regarding "server snomask", which some users interpreted as "I must make sure the snomask on each server is identical" (which makes no sense), when really the intention is basically "look at the logs on the other server".
2014-05-18Merge pull request #854 from SaberUK/insp20+deprecated-plist-entryAttila Molnar
Replace deprecated entry in launchd config with the modern equivalent.
2014-05-18Replace deprecated entry in launchd config with the modern equivalent.Peter Powell
2014-05-10Update year in resource file for WindowsAttila Molnar
2014-05-08Fix m_permchannels and m_xline_db on WindowsAdam
The call to remove() can fail if the database doesn't already exist. Just ignore the error, which effectively makes the rename() call below work as it does on nix
2014-05-08Do not export callersAdam
Their functions are all inlined and Windows gives unresolved symbol errors
2014-05-01m_cgiirc Call User::InvalidateCache() after changing host and dhost in ↵Attila Molnar
OnCheckReady()
2014-04-29m_spanningtree Advertise the availability of m_globops in CAPAB CAPABILITIESAttila Molnar
2014-04-26m_spanningtree Set the bursting flag in the FJOIN handler based on whether ↵Attila Molnar
the source of the FJOIN is bursting or not Previously the flag was true if our route to the source was bursting, which resulted in m_joinflood incorrectly registering netjoins when a remote server was bursting Fixes issue #839 reported by @joshtek0
2014-04-20Merge pull request #832 from SaberUK/insp20+fix-ssl-questionAttila Molnar
Backport questions from master's genssl tool.
2014-04-19Fix undefined symbol error on module load if compiled with Clang 3.4Attila Molnar
Fixes issue #803 reported by @SaberUK
2014-04-16Backport questions from master's genssl tool.Peter Powell
2014-04-13Compress the Windows installer with zlib to reduce AV false positivesAttila Molnar