summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-20Add support for mandatory tags in included config filesattilamolnar
If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read. This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example). Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted Fixes #30 reported by @Justasic
2013-03-20m_spanningtree Fix incoming channel modes being lost for 0-user permanent ↵attilamolnar
channels on the losing side of a netmerge This did not affect listmodes
2013-03-20m_permchannels Load channels from the config only at module load time and ↵attilamolnar
only when there are no linked servers to avoid desync
2013-03-19m_connflood Ignore e-lined usersattilamolnar
2013-03-15Link win32_memory too inspircd tooAdam
2013-03-15m_ssl_openssl Make it clear that a CA file is not mandatoryattilamolnar
2013-03-15Modified m_timedbans to behave more like setting mode +b manually.ShutterQuick
It now accepts extbans. If one enters something not an extban, or valid banmask, it'll add "!*@*", making it a nick-ban instead of borking.
2013-03-14Replace Windows build system and installer with cmakeAdam
2013-03-11Remove dead code from DNSattilamolnar
2013-03-11m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, ↵attilamolnar
ignore e-lined users
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
2013-03-11Either store the Resolver in DNS::AddResolverClass() or delete it before ↵attilamolnar
returning
2013-03-11Stop user initialization when the user is marked as quitting after OnSetUserIPattilamolnar
2013-03-11m_dnsbl Fix connecting users timeouting when a dnsbl result is in the dns cacheattilamolnar
Fixes #431 reported by @killerrabbit
2013-03-09Merge pull request #437 from SaberUK/insp20+doxygen-updateAttila Molnar
Update Doxyfile for the latest version of Doxygen.
2013-03-08Update Doxyfile for the latest version of Doxygen.Peter Powell
2013-03-03cmd_lusers Be smart and know how many invisible users are there without ↵attilamolnar
iterating the userlist
2013-03-03cmd_lusers Use of size() instead of counting elementsattilamolnar
2013-03-03cmd_lusers Refresh max local/global user counters after a user connectsattilamolnar
Fixes #423 reported by @RawrDragon
2013-03-03cmd_lusers Convert to a moduleattilamolnar
2013-03-02Merge pull request #430 from SaberUK/insp20+config-tidyAttila Molnar
Reorganise configuration files.
2013-03-02Reorganise configuration files:Peter Powell
- Example config files now end with .conf.example. - Example text files now end with .txt.example. - Removed 'inspircd' from the name of multiple example files. - Added missing oper motd example file.
2013-02-17m_ssl_gnutls Fix null pointer dereference in case gnutls_xxx_get_name() ↵attilamolnar
returns NULL
2013-02-17Fix multiple escape bugs in m_httpd_stats.Peter Powell
2013-02-11cmd_invite Send invite announcements to halfops and higher when ↵attilamolnar
<security:announceinvites> is 'dynamic' regardless of the channel being +i or not Clarify what the various options mean in the doc Fixes #418 reported by @RawrDragon
2013-02-11cmd_invite Correct error message when the user has no privs to invite and no ↵attilamolnar
halfop prefix is available
2013-02-11Fix exactly <limits:maxchan> long channel names being truncatedattilamolnar
Fixes #422 reported by @RawrDragon
2013-02-03Merge pull request #416 from SaberUK/insp20+clang42-warningsAttila Molnar
Remove unused variables detected by Clang 4.2.
2013-02-01Remove unused variables detected by Clang 4.2.Peter Powell
2013-01-28Merge pull request #414 from SaberUK/insp20+hashmapAttila Molnar
[2.0] Use the preprocessor to detect whether hash_map is available.
2013-01-28Merge pull request #413 from SaberUK/insp20+httpdAttila Molnar
[2.0] Use a better server name in m_httpd.
2013-01-28Use the preprocessor to detect whether hash_map is available.Peter Powell
2013-01-28Use a better server name in m_httpd.Peter Powell
2013-01-28m_ssl_gnutls Fix build with GnuTLS 1.xattilamolnar
Fixes #409 reported by @SaberUK
2013-01-27m_chanhistory Fix durations containing 'S' being rejectedattilamolnar
2013-01-27Use GNU install on Solaris.Peter Powell
2013-01-22Merge pull request #407 from SaberUK/insp20+fix-openssl-detectionAttila Molnar
Fix OpenSSL detection on distributions which modify the version number.
2013-01-22Fix OpenSSL detection on distributions which modify the version number.Peter Powell
2013-01-16Merge pull request #403 from SaberUK/insp20+wextra-fixesRobin Burchell
Fix warning: "const type qualifier on return type has no effect".
2013-01-16Fix warning: "const type qualifier on return type has no effect".Peter Powell
2013-01-14m_spanningtree Fix rare desync when a KILL crosses a message that has the ↵attilamolnar
killed user's prefix and modifies global state
2013-01-13m_maphide Ignore unregistered usersattilamolnar
Fixes #400 reported by @SaberUK
2013-01-05Merge pull request #397 from Robby-/insp20+cmode_b-limitAttila Molnar
[2.0] cmode_b: Correction to the maxbans conditional
2013-01-03cmode_b: Correction to the maxbans conditionalRobby-
It was possible to set one more ban beyond the configured limit.
2013-01-02m_messageflood Ask to be the last to handle OnUserPreMessage/OnUserPreNoticeattilamolnar
Fixes #394 reported by @JDowny
2013-01-02m_banredirect Deny the join to the redirect channel if it has a redirecting ↵attilamolnar
ban set that matches the user Fixes #395 reported by @patatje368
2013-01-02m_banredirect Remove unnecessary hooks, cleanupattilamolnar
- Remove prioritization before m_banexception, it doesn't even hook OnUserPreJoin - Remove OnChannelDelete handler: nothing to do in that case, our extension item is automatically freed - Remove empty OnRehash handler
2012-12-25Replace a GNUmake idiom with the portable equivalent.Peter Powell
2012-12-25Include <list> in base.h to prevent build errors on OpenBSD.Peter Powell
2012-12-25Fix the poll socket engine on BSD's other than FreeBSD.Peter Powell