summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2012-11-28Change empty string assignments to .clear() or remove them entirelyattilamolnar
Part 2 of ba5c0db795824c3fc1ad48ce332d7bdc440cb77f
2012-11-28m_spanningtree Remove redundant params.size() checksattilamolnar
TreeSocket::ProcessConnectedLine() and CommandParser::CallHandler() only call the handler when there are enough parameters
2012-11-28Silence OpenSSL deprecation warnings on OS X.Peter Powell
2012-11-24m_noctcp Make extban 'C' work as intendedattilamolnar
2012-11-24m_check, m_namesx, m_timedbans Minor cleanupattilamolnar
2012-11-19m_ssl_gnutls Dynamically detect the number of certificates in the certfileattilamolnar
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
2012-11-19m_nokicks Remove u-line check, OnUserPreKick doesn't run in that caseattilamolnar
2012-11-19m_customtitle Minor cleanupattilamolnar
- 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()
2012-11-19m_jumpserver Fix wrong nickname in the numeric when redirecting all users ↵attilamolnar
immediately, cleanup - Fix typo - Iterate string with iterator - Move variables into the command handler that aren't used elsewhere
2012-11-19m_securelist Update descriptionattilamolnar
2012-11-19m_remove Cleanupattilamolnar
- 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()
2012-11-19ServerConfig::ServerName is a std::string, don't call .c_str() on it when ↵attilamolnar
passing it to Channel::WriteChannelWithServ, etc.
2012-11-19m_remove, m_services_account Don't check whether nicks are u-lined, checking ↵attilamolnar
the server is enough
2012-11-19Change empty string assignments to .clear() or remove them entirelyattilamolnar
2012-11-19m_globalload Fix wrong error message being sent when the module given to ↵attilamolnar
/gunloadmodule is not found
2012-11-19Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()attilamolnar
2012-11-19Remove calls to ListModeBase::OnCleanup (deprecated, empty function)attilamolnar
2012-11-19Fix m_ssl_gnutls under GCC on recent versions of GnuTLS.Peter Powell
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.
2012-11-12Remove usage of the deprecated ConfigReaderattilamolnar
2012-11-12m_operprefix Enhance compatibility with m_hideoper using a ModeWatcherattilamolnar
Prioritize after m_opermodes, so we know when it sets +H on somebody
2012-11-12m_operprefix Switch to OnUserPreJoin hook to give +y to joining opers, ↵attilamolnar
switch to OnPostOper for giving +y initially
2012-11-12m_operprefix Remove unused hooks, move module initialization to init()attilamolnar
2012-11-09m_spanningtree SVSNICK needs 3 parametersattilamolnar
2012-11-09m_spanningtree Refuse bogus NICK messagesattilamolnar
If the new nick looks like an uid verify that its the correct uid
2012-11-09m_ssl_gnutls, m_ssl_openssl Set error message for the socket to "Connection ↵attilamolnar
closed" whenever the ssl connection is closed
2012-11-09m_ssl_openssl Remove unused variablesattilamolnar
2012-11-09wrong order of arguments to Host()Steven Van Acker
2012-11-09use documented "value" attribute instead of undocumented "newhost"Steven Van Acker
2012-11-08Fix m_ssl_gnutls when using non-standard include/lib paths.Peter Powell
This fixes #315.
2012-11-07Fix typo in m_filter.Peter Powell
2012-10-29m_opermotd Add support for replacing \u \b etc. with color codesattilamolnar
Fixes #322 reported by @MistrX
2012-10-28m_operlog Add tosnomask config option, to log all oper actions to snomask 'r'attilamolnar
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-
2012-10-27Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their ↵Adam
databases on Windows due to rename() failing if the destination file exists
2012-10-24m_ojoin Fix giving +Y only instead of +Yo when <ojoin:op> is on and the user ↵attilamolnar
is already in the channel
2012-10-23m_ircv3 Attach to OnRehashattilamolnar
2012-10-23m_ircv3 Fix away-notify not sending AWAY messages when somebody joins who is ↵attilamolnar
away
2012-10-23m_nicklock Fix typoattilamolnar
2012-10-23m_topiclock Prefix ModDesc with $attilamolnar
2012-10-21m_nickflood Fix a case when channels were locked regardless of elapsed time ↵attilamolnar
since the last nick change Fixes #330 reported by @Shawn-Smith
2012-10-21m_nickflood Make code more readable, unset +F when the module is unloadedattilamolnar
See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b
2012-10-21Make better use of User::GetFullRealHost()attilamolnar
2012-10-19m_ldapauth Allow filtering on arbitrary LDAP attributesAdrien Bustany
This commit implements filtering on LDAP attributes, in a similar way to what Apache Httpd does with "Require ldap-attribute".
2012-10-19m_filter More cleanup and optimizationsattilamolnar
Fix a typo
2012-10-19m_filter Don't move the filter to the beginning of the vector when a match ↵attilamolnar
occurs
2012-10-19m_filter Remove redundant flags field from FilterResultattilamolnar
Change FillFlags() to return the character it did not understand, 0 if all ok
2012-10-19m_filter Change exemptfromfilter to be a setattilamolnar
2012-10-19m_filter Use an enum for filter actions instead of a stringattilamolnar
2012-10-19m_filter Cleanup, remove empty and useless functionsattilamolnar
2012-10-19Fix for #268.Peter Powell
- Move color stripping code to helperfuncs. - Strip color codes before matching filters.
2012-10-18m_ident Allow the usage of an overriden IsIdent() instead of using a ↵attilamolnar
hardcoded version of it Fix long idents being accepted regardless of Limits.IdentMax