aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.0.10 v2.0.10Gravatar attilamolnar2012-12-161-1/+1
|
* m_callerid Fix memory leak in CallerIDExtInfo::free()Gravatar attilamolnar2012-12-161-0/+1
|
* Add a flag to Command that controls whether an empty last parameter is ↵Gravatar attilamolnar2012-12-1513-17/+27
| | | | allowed or not
* m_ident Reject invalid and error repliesGravatar attilamolnar2012-12-151-2/+8
|
* Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵Gravatar attilamolnar2012-12-1525-34/+34
| | | | | | 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
* Remove ServerLimits::Finalise(), it's completely wrongGravatar attilamolnar2012-12-094-6/+4
| | | | Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
* Fix unsafe iteration in DelMode() when unloading m_permchannelsGravatar attilamolnar2012-12-081-4/+9
|
* m_svshold Fix crash when called with 2 params, only triggerable by u-linesGravatar attilamolnar2012-12-051-0/+3
|
* m_cban, m_rline, m_shun Don't broadcast when user is a local userGravatar attilamolnar2012-12-053-0/+9
| | | | spanningtree sends an ADDLINE in this case
* Fix expired xlines being treated as live ones in XLineManager::AddLine()Gravatar attilamolnar2012-12-051-1/+6
| | | | | | | | | 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
* Unbreak m_geoipGravatar attilamolnar2012-12-041-1/+1
|
* Fix typos in ebdaf368e137fc933e648ee88a08a4f83e796f87Gravatar attilamolnar2012-12-032-5/+5
|
* Properly shut down stdinGravatar attilamolnar2012-12-031-5/+4
| | | | Replace hardcoded ints
* m_remove Fix potential desync caused by committing the PART before getting ↵Gravatar attilamolnar2012-12-021-0/+4
| | | | acknowledgement from the target server
* Fix DLLManager leak when an exception is thrown in init()Gravatar attilamolnar2012-12-021-1/+4
| | | | This also caused the dlopen()'d library to stay open forever
* Throw an exception when attempting to register an extension with a name that ↵Gravatar attilamolnar2012-12-022-3/+4
| | | | | | already exists Previously this silently failed
* Register a few extensions that weren't registeredGravatar attilamolnar2012-12-023-0/+3
|
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-0282-142/+106
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-02113-116/+115
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-02111-60/+379
|
* Make LocalUserList an std::listGravatar attilamolnar2012-11-292-6/+7
|
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-2914-24/+22
|
* m_cgiirc Fix wrong announcement when the host in WEBIRC is too longGravatar attilamolnar2012-11-291-2/+6
|
* m_cgiirc Don't apply resolved host or send notifications when the user is ↵Gravatar attilamolnar2012-11-291-4/+6
| | | | quitting (matched a line)
* m_cgiirc Don't resolve IPs when <performance:nouserdns> is trueGravatar attilamolnar2012-11-291-2/+2
|
* m_cgiirc De-duplicate code, recheck elines after ip/host changesGravatar attilamolnar2012-11-291-69/+64
| | | | | | | | | 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()
* m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type ↵Gravatar attilamolnar2012-11-291-54/+15
| | | | value, misc. cleanup
* m_dnsbl Add usednsbl option to connect classesGravatar attilamolnar2012-11-291-4/+9
| | | | Don't touch users in classes where it's off
* Reorder local user initialization stepsGravatar attilamolnar2012-11-292-18/+5
| | | | | | 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
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hopGravatar attilamolnar2012-11-292-4/+6
| | | | Fixes #375 reported by @JDowny
* ldapauth: register both extensionsGravatar Robin Burchell2012-11-291-0/+2
|
* ldapauth: RAII returned ldap message.Gravatar Robin Burchell2012-11-291-10/+41
| | | | | This ensures it is always freed, and coincidentally fixes freeing in the case of LDAP errors.
* ldapauth: fix memory leakGravatar Robin Burchell2012-11-291-3/+29
| | | | | | ldap_get_dn() results need to be freed. Use a RAII wrapper to do this. Original code by Attila Molnar
* ldapauth: Allow setting virtual hosts on identification with m_ldapauth.Gravatar Robin Burchell2012-11-291-3/+67
| | | | | <ldapauth:host>, when set, will be applied to users identifying with ldapauth. The host can also take formatters from fields set on the DN of the user.
* ldapauth: Add missing verbose logging to required attributes.Gravatar Robin Burchell2012-11-291-0/+2
|
* ldapauth: Rework required attributes code to use only one exit path.Gravatar Robin Burchell2012-11-291-21/+19
| | | | This makes the upcoming patch to add optional virtual host support cleaner.
* Change empty string assignments to .clear() or remove them entirelyGravatar attilamolnar2012-11-289-29/+25
| | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
* Have FindUUID(const char*) call FindUUID(const std::string&), not the other ↵Gravatar attilamolnar2012-11-281-5/+5
| | | | way around
* m_spanningtree Remove redundant params.size() checksGravatar attilamolnar2012-11-282-11/+0
| | | | TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
* Silence OpenSSL deprecation warnings on OS X.Gravatar Peter Powell2012-11-281-1/+9
|
* m_noctcp Make extban 'C' work as intendedGravatar attilamolnar2012-11-241-4/+1
|
* m_check, m_namesx, m_timedbans Minor cleanupGravatar attilamolnar2012-11-243-9/+2
|
* Simplify UserManager::AddLocalClone()/AddGlobalClone()Gravatar attilamolnar2012-11-241-13/+2
|
* m_ssl_gnutls Dynamically detect the number of certificates in the certfileGravatar attilamolnar2012-11-191-4/+15
| | | | | Remove the "certcount" setting, as it's no longer needed When finished reading the certs, resize the buffer to the actual number of certs read
* m_nokicks Remove u-line check, OnUserPreKick doesn't run in that caseGravatar attilamolnar2012-11-191-11/+3
|
* m_customtitle Minor cleanupGravatar attilamolnar2012-11-191-2/+1
| | | | | | - Remove TRANSLATE() as it makes no sense here (user parameter is not a nick) - Compare strings with == instead of strcmp - PassCompare uses strings, pass them as-is without c_str()
* m_jumpserver Fix wrong nickname in the numeric when redirecting all users ↵Gravatar attilamolnar2012-11-191-8/+6
| | | | | | | | immediately, cleanup - Fix typo - Iterate string with iterator - Move variables into the command handler that aren't used elsewhere
* m_securelist Update descriptionGravatar attilamolnar2012-11-191-2/+2
|
* m_remove CleanupGravatar attilamolnar2012-11-191-15/+8
| | | | | - Command handler concatenates when maxparams is specified, don't do it ourselves - String references to user and channel names are fine, no need for .c_str()
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵Gravatar attilamolnar2012-11-196-12/+12
| | | | passing it to Channel::WriteChannelWithServ, etc.