aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-282-4/+4
| | | | Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
* 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
|
* 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.
* m_remove, m_services_account Don't check whether nicks are u-lined, checking ↵Gravatar attilamolnar2012-11-192-3/+4
| | | | the server is enough
* 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 ↵Gravatar attilamolnar2012-11-191-7/+12
| | | | /gunloadmodule is not found
* 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.Gravatar Peter Powell2012-11-191-0/+1
| | | | | | 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.
* Remove usage of the deprecated ConfigReaderGravatar attilamolnar2012-11-1240-230/+191
|
* m_operprefix Enhance compatibility with m_hideoper using a ModeWatcherGravatar attilamolnar2012-11-121-5/+52
| | | | Prioritize after m_opermodes, so we know when it sets +H on somebody
* m_operprefix Switch to OnUserPreJoin hook to give +y to joining opers, ↵Gravatar attilamolnar2012-11-121-27/+22
| | | | switch to OnPostOper for giving +y initially
* 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
|
* m_spanningtree Refuse bogus NICK messagesGravatar attilamolnar2012-11-091-1/+7
| | | | If the new nick looks like an uid verify that its the correct uid
* m_ssl_gnutls, m_ssl_openssl Set error message for the socket to "Connection ↵Gravatar attilamolnar2012-11-092-1/+2
| | | | closed" whenever the ssl connection is closed
* m_ssl_openssl Remove unused variablesGravatar attilamolnar2012-11-091-10/+1
|
* wrong order of arguments to Host()Gravatar Steven Van Acker2012-11-091-1/+1
|
* use documented "value" attribute instead of undocumented "newhost"Gravatar Steven Van Acker2012-11-091-1/+1
|
* Fix m_ssl_gnutls when using non-standard include/lib paths.Gravatar Peter Powell2012-11-081-2/+2
| | | | This fixes #315.
* Fix typo in m_filter.Gravatar Peter Powell2012-11-071-1/+1
|
* m_opermotd Add support for replacing \u \b etc. with color codesGravatar attilamolnar2012-10-291-14/+15
| | | | Fixes #322 reported by @MistrX
* m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'Gravatar attilamolnar2012-10-281-4/+13
| | | | | If enabled, the commands can be logged to channels with m_chanlog and also other +s +r opers can see them Fixes #325 reported by @SeLEct-
* Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their ↵Gravatar Adam2012-10-272-0/+16
| | | | databases on Windows due to rename() failing if the destination file exists
* m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user ↵Gravatar attilamolnar2012-10-241-1/+3
| | | | is already in the channel
* m_ircv3 Attach to OnRehashGravatar attilamolnar2012-10-231-2/+2
|
* m_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is ↵Gravatar attilamolnar2012-10-231-2/+29
| | | | away
* m_nicklock Fix typoGravatar attilamolnar2012-10-231-2/+2
|
* m_topiclock Prefix ModDesc with $Gravatar attilamolnar2012-10-231-1/+1
|
* m_nickflood Fix a case when channels were locked regardless of elapsed time ↵Gravatar attilamolnar2012-10-211-1/+1
| | | | | | since the last nick change Fixes #330 reported by @Shawn-Smith
* m_nickflood Make code more readable, unset +F when the module is unloadedGravatar attilamolnar2012-10-211-101/+43
| | | | See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-214-12/+11
|
* m_ldapauth Allow filtering on arbitrary LDAP attributesGravatar Adrien Bustany2012-10-191-6/+47
| | | | | This commit implements filtering on LDAP attributes, in a similar way to what Apache Httpd does with "Require ldap-attribute".
* m_filter More cleanup and optimizationsGravatar attilamolnar2012-10-191-53/+34
| | | | Fix a typo
* m_filter Don't move the filter to the beginning of the vector when a match ↵Gravatar attilamolnar2012-10-191-8/+1
| | | | occurs