aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* 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-1512-17/+20
* 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-1519-21/+21
* Remove ServerLimits::Finalise(), it's completely wrong•••Truncate <limits:identmax>+1 long idents in User::ChangeIdent() Gravatar attilamolnar2012-12-091-1/+1
* 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
* Unbreak m_geoipGravatar attilamolnar2012-12-041-1/+1
* m_remove Fix potential desync caused by committing the PART before getting ac...Gravatar attilamolnar2012-12-021-0/+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-0281-141/+105
* 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-02110-60/+375
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-294-6/+5
* 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
* cmd_rehash, m_spanningtree Fix REHASH messages duplicating at each hop•••Fixes #375 reported by @JDowny Gravatar attilamolnar2012-11-291-0/+3
* 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-282-4/+4
* 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
* 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
* m_remove, m_services_account Don't check whether nicks are u-lined, checking ...Gravatar attilamolnar2012-11-192-3/+4
* Change empty string assignments to .clear() or remove them entirelyGravatar attilamolnar2012-11-196-9/+7
* m_globalload Fix wrong error message being sent when the module given to /gun...Gravatar attilamolnar2012-11-191-7/+12
* Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()Gravatar attilamolnar2012-11-193-5/+5
* Remove calls to ListModeBase::OnCleanup (deprecated, empty function)Gravatar attilamolnar2012-11-194-20/+0
* Fix m_ssl_gnutls under GCC on recent versions of GnuTLS.•••Commas at the end of enumerator lists are valid in C99 but are not valid in C++ before C++11. This causes a build error on GCC when using -pedantic. Gravatar Peter Powell2012-11-191-0/+1
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-1240-230/+191
* m_operprefix Enhance compatibility with m_hideoper using a ModeWatcher•••Prioritize after m_opermodes, so we know when it sets +H on somebody Gravatar attilamolnar2012-11-121-5/+52
* m_operprefix Switch to OnUserPreJoin hook to give +y to joining opers, switch...Gravatar attilamolnar2012-11-121-27/+22
* m_operprefix Remove unused hooks, move module initialization to init()Gravatar attilamolnar2012-11-121-12/+13
* m_spanningtree SVSNICK needs 3 parametersGravatar attilamolnar2012-11-091-1/+1