aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)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 allowe...Gravatar attilamolnar2012-12-1513-17/+27
* 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 ta...•••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 Gravatar attilamolnar2012-12-1525-34/+34
* Remove ServerLimits::Finalise(), it's completely wrong•••Truncate <limits:identmax>+1 long idents in User::ChangeIdent() Gravatar attilamolnar2012-12-094-6/+4
* 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 user•••spanningtree sends an ADDLINE in this case Gravatar attilamolnar2012-12-053-0/+9
* Fix expired xlines being treated as live ones in XLineManager::AddLine()•••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 Gravatar attilamolnar2012-12-051-1/+6
* Unbreak m_geoipGravatar attilamolnar2012-12-041-1/+1
* Fix typos in ebdaf368e137fc933e648ee88a08a4f83e796f87Gravatar attilamolnar2012-12-032-5/+5
* Properly shut down stdin•••Replace hardcoded ints Gravatar attilamolnar2012-12-031-5/+4
* m_remove Fix potential desync caused by committing the PART before getting ac...Gravatar attilamolnar2012-12-021-0/+4
* Fix DLLManager leak when an exception is thrown in init()•••This also caused the dlopen()'d library to stay open forever Gravatar attilamolnar2012-12-021-1/+4
* Throw an exception when attempting to register an extension with a name that ...•••Previously this silently failed Gravatar attilamolnar2012-12-022-3/+4
* Register a few extensions that weren't registeredGravatar attilamolnar2012-12-023-0/+3
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-0282-142/+106
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-02113-116/+115
* 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 qui...Gravatar attilamolnar2012-11-291-4/+6
* 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 changes•••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() Gravatar attilamolnar2012-11-291-69/+64
* m_cgiirc Remove dead code, warn when a <cgihost> block has an invalid type va...Gravatar attilamolnar2012-11-291-54/+15
* m_dnsbl Add usednsbl option to connect classes•••Don't touch users in classes where it's off Gravatar attilamolnar2012-11-291-4/+9
* Reorder local user initialization steps•••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 Gravatar attilamolnar2012-11-292-18/+5
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop•••Fixes #375 reported by @JDowny Gravatar attilamolnar2012-11-292-4/+6
* ldapauth: register both extensionsGravatar Robin Burchell2012-11-291-0/+2
* ldapauth: RAII returned ldap message.•••This ensures it is always freed, and coincidentally fixes freeing in the case of LDAP errors. Gravatar Robin Burchell2012-11-291-10/+41
* ldapauth: fix memory leak•••ldap_get_dn() results need to be freed. Use a RAII wrapper to do this. Original code by Attila Molnar Gravatar Robin Burchell2012-11-291-3/+29
* ldapauth: Allow setting virtual hosts on identification with m_ldapauth.•••<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. Gravatar Robin Burchell2012-11-291-3/+67
* 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.•••This makes the upcoming patch to add optional virtual host support cleaner. Gravatar Robin Burchell2012-11-291-21/+19
* Change empty string assignments to .clear() or remove them entirely•••Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f Gravatar attilamolnar2012-11-289-29/+25
* Have FindUUID(const char*) call FindUUID(const std::string&), not the other w...Gravatar attilamolnar2012-11-281-5/+5
* m_spanningtree Remove redundant params.size() checks•••TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters Gravatar attilamolnar2012-11-282-11/+0
* 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 certfile•••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 Gravatar attilamolnar2012-11-191-4/+15
* m_nokicks Remove u-line check, OnUserPreKick doesn't run in that caseGravatar attilamolnar2012-11-191-11/+3
* m_customtitle Minor cleanup•••- 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() Gravatar attilamolnar2012-11-191-2/+1
* m_jumpserver Fix wrong nickname in the numeric when redirecting all users imm...•••- Fix typo - Iterate string with iterator - Move variables into the command handler that aren't used elsewhere Gravatar attilamolnar2012-11-191-8/+6
* m_securelist Update descriptionGravatar attilamolnar2012-11-191-2/+2
* m_remove Cleanup•••- 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() Gravatar attilamolnar2012-11-191-15/+8
* ServerConfig::ServerName is a std::string, don't call .c_str() on it when pas...Gravatar attilamolnar2012-11-196-12/+12