summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-07Create SSLIOHook interface that provides GetCertificate()attilamolnar
2013-06-07Create IOHook interface (extracted from Module)attilamolnar
2013-06-06Move code between usermanager.(cpp|h), clarify commentsattilamolnar
Initialize clientlist and uuidlist in UserManager constructor
2013-06-06Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManagerattilamolnar
2013-06-06Store prefix rank in a ModeHandler field, change ↵attilamolnar
ModeHandler::GetPrefixRank() to be non-virtual
2013-06-06Fix Windowsattilamolnar
2013-06-05Merge pull request #544 from SaberUK/master+kill-maxbufAttila Molnar
Purge MAXBUF in favour of a configuration option.
2013-06-06Remove hardcoded MAXBUF constant.Peter Powell
2013-06-06Convert a ton of uses of MAXBUF to use a fixed buffer size.Peter Powell
2013-06-06Convert User::SendText to use std::string.Peter Powell
2013-06-06Convert User::FormatNoticeMasks() to use std::string.Peter Powell
2013-06-06Convert ConvNumeric() to use std::string instead of char[MAXBUF].Peter Powell
2013-06-06Rewrite irc::sockets::sockaddrs::str() completely.Peter Powell
- Replace use of MAXBUF with INET_ADDRSTRLEN/INET6_ADDRSTRLEN. - Replace use of sprintf with InspIRCd::Format.
2013-06-06Replace some C string operations with the + operator.Peter Powell
2013-06-06Use InspIRCd::Format instead of snprintf().Peter Powell
2013-06-06Use iostream instead of C-style file operations.Peter Powell
2013-06-06Compare to ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Reserve ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Start to replace MAXBUF with <limits:maxline>.Peter Powell
2013-06-06Merge insp20attilamolnar
2013-06-05Release 2.0.13attilamolnar
2013-06-05Remove unnecessary string copies and dead codeattilamolnar
2013-06-05Report the full GnuTLS version in configureattilamolnar
Fix incorrect version being reported when the minor version is longer than one digit (2.10.x)
2013-06-04m_spanningtree Fix FIDENT routingattilamolnar
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
2013-06-04Fix inet_pton on Windows with IPv6 addressesattilamolnar
Code from Anope win32/socket.cpp by @Adam-
2013-06-04m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dattilamolnar
2013-06-04Refactor Channel::UserList() to use std::stringattilamolnar
2013-06-04Remove the now unused Channel::RemoveAllPrefixes() and CountInvisible()attilamolnar
2013-06-04Reduce User* -> Membership* lookups on part and kickattilamolnar
2013-06-04Channel::KickUser() and cmd_kick changesattilamolnar
- Remove uline checks from KickUser() - Disallow the kick if done by a local user and the victim is ulined in cmd_kick - Remove call to RemoveAllPrefixes() as it has no additional effect, the Membership object containing the prefixes is destroyed soon after the call
2013-06-04Remove NULL checks from various Channel functionsattilamolnar
Passing NULL to these functions are not permitted and must be avoided by the caller
2013-06-03Added option for using TCP_DEFER_ACCEPT. Prevents the connection from being ↵Daniel Vassdal
handed over to the daemon before data is ready from the client.
2013-06-02Route WALLOPS like a regular command, remove OnWallops hookattilamolnar
2013-06-01Merge pull request #550 from Adam-/master+sepstreamAdam
Rewrote sepstream and tokenstream to be less ugly
2013-06-02s/seperator/separator/gAdam
2013-06-02Rewrote sepstream and tokenstream to be less uglyAdam
2013-06-02ISupportManager: Tidy-up, expand commentsattilamolnar
2013-06-02Move a few trivial functions into headersattilamolnar
2013-06-02m_devoice Remove FindChan() and HasUser() checks, these are done when ↵attilamolnar
parsing the mode change
2013-06-01Watch mode names with ModeWatchers instead of mode lettersattilamolnar
2013-06-01Remove useless ModeType parameter from ModeWatcher::BeforeMode() and AfterMode()attilamolnar
2013-06-01Remove #define MAXPARAMETERS and "MAXPARA" 005 tokenattilamolnar
2013-06-01CommandParser::ProcessCommand() and ProcessBuffer() cleanupattilamolnar
- Change return types to void - Use a pointer to the command handler instead of an iterator
2013-06-01Improve command parser logic when there are more params than Command::max_paramsattilamolnar
2013-06-01Remove (non-functional) total_bytes counter from Commandattilamolnar
2013-06-01Merge pull request #551 from SaberUK/master+unused-configureAttila Molnar
Remove unused code from configure.
2013-06-01Remove unused code from configure.Peter Powell
2013-06-01cmd_who Hide +i users when listing users on a server and hidewhois is offattilamolnar
Fixes #547 reported by @RawrDragon
2013-06-01m_mysql Fix escaping strings longer than MAXBUF/2attilamolnar
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
2013-06-01m_userip Allow querying own IP for non-opers, require the users/auspex priv ↵attilamolnar
for opers to query the IP of others Issue #513 suggested by @CuleX