summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-03-24Initialize the FakeClient pointer in InspIRCd::InspIRCd()attilamolnar
2013-03-24m_timedbans Notice halfops and above when a timed ban is placedattilamolnar
Fixes #415 reported by @killerrabbit
2013-03-20Fix infinite loop when all DNS request slots are in useattilamolnar
This is not the best way to detect this scenario, a better detection mechanism will replace this in the future
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-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-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-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-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-01Remove unused variables detected by Clang 4.2.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-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-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-25Fix the poll socket engine on BSD's other than FreeBSD.Peter Powell
2012-12-25OpenBSD does not have KERN_MAXFILESPERPROC.Peter Powell
2012-12-25m_ldapoper Fix typo spotted by @lordsith49attilamolnar
Fixes #392
2012-12-21Fix errors in socketengine_ports so it compiles on Solarisattilamolnar
Thanks to fraggeln for reporting and testing
2012-12-17Fixed m_ssl_gnutls build on Windows; gnutls.h uses ssize_t which is defined ↵Adam
in gcrypt.h
2012-12-16Release 2.0.10attilamolnar
2012-12-16m_callerid Fix memory leak in CallerIDExtInfo::free()attilamolnar
2012-12-15Add a flag to Command that controls whether an empty last parameter is ↵attilamolnar
allowed or not
2012-12-15m_ident Reject invalid and error repliesattilamolnar
2012-12-15Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵attilamolnar
target nickname If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
2012-12-09Remove ServerLimits::Finalise(), it's completely wrongattilamolnar
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-12-08Fix unsafe iteration in DelMode() when unloading m_permchannelsattilamolnar
2012-12-05m_svshold Fix crash when called with 2 params, only triggerable by u-linesattilamolnar
2012-12-05m_cban, m_rline, m_shun Don't broadcast when user is a local userattilamolnar
spanningtree sends an ADDLINE in this case
2012-12-05Fix expired xlines being treated as live ones in XLineManager::AddLine()attilamolnar
This fixes ADDLINEs not being propagated and /gline etc. failing for already existing but expired xlines Special thanks to @JDowny (TinMan) for his detailed report and cooperation that made this fix possible Fixes #306 reported by @TurkDesk Fixes #379 reported by @JDowny
2012-12-04Unbreak m_geoipattilamolnar