aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* | m_banredirect Fix modestack usageGravatar attilamolnar2013-06-121-7/+5
| |
* | Added m_repeat - Allows for blocking of similiar messagesGravatar Daniel Vassdal2013-06-101-0/+424
| | | | | | | | | | | | | | | | | | Changes to the original module: - Parse settings using a sepstream, accept remote mode changes regardless of our config - Refuse to link when config settings differ - Style changes All ideas and features are the brainchild and work of Daniel Vassdal
* | Change the API of m_httpd to be dynamic_reference-basedGravatar attilamolnar2013-06-074-12/+43
| |
* | Change the API of m_sslinfo to be dynamic_reference-basedGravatar attilamolnar2013-06-072-21/+42
| |
* | Create SSLIOHook interface that provides GetCertificate()Gravatar attilamolnar2013-06-075-48/+28
| |
* | Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-075-655/+703
| |
* | Store prefix rank in a ModeHandler field, change ↵Gravatar attilamolnar2013-06-063-19/+6
| | | | | | | | ModeHandler::GetPrefixRank() to be non-virtual
* | Convert a ton of uses of MAXBUF to use a fixed buffer size.Gravatar Peter Powell2013-06-063-6/+6
| |
* | Replace some C string operations with the + operator.Gravatar Peter Powell2013-06-061-1/+1
| |
* | Use InspIRCd::Format instead of snprintf().Gravatar Peter Powell2013-06-062-45/+36
| |
* | Use iostream instead of C-style file operations.Gravatar Peter Powell2013-06-062-105/+47
| |
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-064-4/+4
| |
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-063-3/+3
| |
* | Merge insp20Gravatar attilamolnar2013-06-0623-97/+152
|\|
| * Remove unnecessary string copies and dead codeGravatar attilamolnar2013-06-0511-43/+15
| |
| * m_spanningtree Fix FIDENT routingGravatar attilamolnar2013-06-041-2/+1
| | | | | | | | A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
| * m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dGravatar attilamolnar2013-06-041-8/+8
| |
| * m_mysql Fix escaping strings longer than MAXBUF/2Gravatar attilamolnar2013-06-011-6/+12
| | | | | | | | | | | | | | | | | | Quotes from the documentation: "You must allocate the to buffer to be at least length*2+1 bytes long. (In the worst case, each character may need to be encoded as using two bytes, and you need room for the terminating null byte.)" "The return value is the length of the encoded string, not including the terminating null character." http://dev.mysql.com/doc/refman/5.6/en/mysql-real-escape-string.html
| * m_userip Allow querying own IP for non-opers, require the users/auspex priv ↵Gravatar attilamolnar2013-06-011-2/+19
| | | | | | | | | | | | for opers to query the IP of others Issue #513 suggested by @CuleX
| * m_nicklock Fix wrong hook in SetPriority()Gravatar attilamolnar2013-05-231-1/+1
| |
| * m_mysql Fix crash on rehash when the database tags have been changed in the ↵Gravatar attilamolnar2013-05-221-5/+6
| | | | | | | | config
| * m_channames Fix iteration in ValidateChans()Gravatar attilamolnar2013-05-181-2/+10
| | | | | | | | Spotted by @Adam-
| * m_httpd_acl Reread config on rehashGravatar attilamolnar2013-05-181-3/+3
| |
| * m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULLGravatar attilamolnar2013-05-181-2/+3
| |
| * Fix m_randquote with 0 quotesGravatar Adam2013-05-161-6/+7
| |
| * Remove unused variables, avoid copies where possible, check empty() instead ↵Gravatar attilamolnar2013-05-167-8/+7
| | | | | | | | | | | | of size() == 0 Most of these were detected by cppcheck
| * Fix an extremely low risk crash bug in m_connectban.Gravatar Peter Powell2013-05-061-4/+5
| |
| * m_ssl_gnutls Call gnutls_transport_set_errno() on Windows onlyGravatar attilamolnar2013-05-021-0/+14
| |
| * Fix gnutls (again) on Windows by using gnutls_transport_set_errno()Gravatar Adam2013-05-021-42/+56
| |
* | Reduce User* -> Membership* lookups on part and kickGravatar attilamolnar2013-06-041-4/+1
| |
* | Remove NULL checks from various Channel functionsGravatar attilamolnar2013-06-041-1/+1
| | | | | | | | Passing NULL to these functions are not permitted and must be avoided by the caller
* | Route WALLOPS like a regular command, remove OnWallops hookGravatar attilamolnar2013-06-023-13/+1
| |
* | m_devoice Remove FindChan() and HasUser() checks, these are done when ↵Gravatar attilamolnar2013-06-021-12/+6
| | | | | | | | parsing the mode change
* | Watch mode names with ModeWatchers instead of mode lettersGravatar attilamolnar2013-06-013-32/+18
| |
* | Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()Gravatar attilamolnar2013-06-013-5/+5
| |
* | Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenGravatar attilamolnar2013-06-011-1/+1
| |
* | Simplify user mode removal via ModeHandler::RemoveMode()Gravatar attilamolnar2013-05-272-8/+0
| | | | | | | | | | The function does not need to be virtual because the core can remove any user mode using the default logic The optional modestack parameter was always NULL, so remove it
* | Deduplicate RemoveMode() implementationsGravatar attilamolnar2013-05-273-61/+1
| | | | | | | | | | The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
* | Clean up the FileReader class and all of the modules that use it.Gravatar Peter Powell2013-05-273-58/+29
| | | | | | | | | | | | | | | | - Modules which use this class will now have to catch a CoreException when opening files if they wish to ignore the failed loading of a file. - m_randquote has been cleaned up massively and the RANDQUOTE command has been removed as it was pretty much useless.
* | Change CacheRefreshTimer tick time back to 5 minutesGravatar Adam2013-05-231-1/+1
| |
* | Merge pull request #545 from SaberUK/master+logging-cleanupGravatar Attila Molnar2013-05-2130-88/+88
|\ \ | | | | | | Clean up the logging system (part 1 of 2).
| * | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-1930-88/+88
| | |
* | | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-216-18/+25
| | |
* | | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵Gravatar attilamolnar2013-05-2023-171/+51
| | | | | | | | | | | | | | | | | | OnUserMessage and OnUserPreMessage All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases
* | | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-6/+2
|/ /
* | Change the signature of User::ForceNickChange() to accept const std::string& ↵Gravatar attilamolnar2013-05-185-7/+7
| | | | | | | | instead of const char*
* | Get rid of the NICKForced extensionGravatar attilamolnar2013-05-183-10/+0
| | | | | | | | Don't run OnUserPreNick when the nick change is forced
* | Deduplicate hex string creation codeGravatar attilamolnar2013-05-182-2/+2
| |
* | Merge pull request #543 from SaberUK/master+sizeparam-removalGravatar Attila Molnar2013-05-1813-26/+26
|\ \ | | | | | | Remove the size argument from IsChannel and IsNick.
| * | Remove the size argument from IsChannel and IsNick.Gravatar Peter Powell2013-05-1813-26/+26
| | | | | | | | | | | | | | | There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.