summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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-21Fix property list arguments.Peter Powell
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-07Fix #380 on BSD make.Peter Powell
2012-12-07Merge pull request #380 from SaberUK/insp20+fix-clang-warningAttila Molnar
Fix invalid argument warnings on clang.
2012-12-07Fix invalid argument warnings on clang.Peter Powell
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-05Change a few signed counter variables to unsigned so they roll over laterattilamolnar
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
2012-12-03Fix thread handle leak in StartServiceThread()attilamolnar
2012-12-03Fix broken RetrieveLastError()attilamolnar
- FORMAT_MESSAGE_IGNORE_INSERTS flag wasn't used and we never pass insertion parameters, this could cause FormatMessage() to fail - The return value of FormatMessage() wasn't checked, if it returned zero (failure) then RetrieveLastError() returned garbage if err[] wasn't initialized previously
2012-12-03Fix typos in ebdaf368e137fc933e648ee88a08a4f83e796f87attilamolnar
2012-12-03Properly shut down stdinattilamolnar
Replace hardcoded ints
2012-12-02m_remove Fix potential desync caused by committing the PART before getting ↵attilamolnar
acknowledgement from the target server
2012-12-02Fix DLLManager leak when an exception is thrown in init()attilamolnar
This also caused the dlopen()'d library to stay open forever
2012-12-02Throw an exception when attempting to register an extension with a name that ↵attilamolnar
already exists Previously this silently failed
2012-12-02Register a few extensions that weren't registeredattilamolnar
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-12-02Merge pull request #376 from SaberUK/insp20+fix-cleanAttila Molnar
Fix the list of files to be removed by make.
2012-12-02Fix the list of files to be removed by make.Peter Powell
2012-11-29Make LocalUserList an std::listattilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-11-29m_cgiirc Fix wrong announcement when the host in WEBIRC is too longattilamolnar
2012-11-29m_cgiirc Don't apply resolved host or send notifications when the user is ↵attilamolnar
quitting (matched a line)
2012-11-29m_cgiirc Don't resolve IPs when <performance:nouserdns> is trueattilamolnar
2012-11-29m_cgiirc De-duplicate code, recheck elines after ip/host changesattilamolnar
Fixes #350 reported by @MistrX New functions: - RecheckElineAndClass() - ChangeIP() - decreases clone counts for a user, calls SetUserIP, increases clone counts after the new ip is applied - HandleIdentOrPass() - common code extracted from CheckIdent() and CheckPass()
2012-11-29m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵attilamolnar
value, misc. cleanup
2012-11-29m_dnsbl Add usednsbl option to connect classesattilamolnar
Don't touch users in classes where it's off
2012-11-29Reorder local user initialization stepsattilamolnar
OnSetUserIP hook now runs after the user has a connect class and the g/k/z lines were checked (ip only, no host at that point) Fixes #360 reported by @JDowny Allows #336
2012-11-29cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hopattilamolnar
Fixes #375 reported by @JDowny
2012-11-29Merge pull request #374 from rburchell/ldapauth_vhostsAttila Molnar
Ldapauth vhosts
2012-11-29ldapauth: register both extensionsRobin Burchell