summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-19Move LogHeader to LogStream.Peter Powell
2013-05-19Move LogLevel enum from filelogger to logger.Peter Powell
2013-05-18Replaced vsnprintf with VAFORMAT pretty much everywhere.Daniel Vassdal
2013-05-18Added macro to allow simpler logic in functions with the need to vsnprintfDaniel Vassdal
2013-05-18Change the signature of User::ForceNickChange() to accept const std::string& ↵attilamolnar
instead of const char*
2013-05-18Get rid of the NICKForced extensionattilamolnar
Don't run OnUserPreNick when the nick change is forced
2013-05-18Remove unused UserManager::ServerPrivmsgAll()attilamolnar
2013-05-18irc::tokenstream and irc::sepstream cleanupattilamolnar
irc::sepstream does not require virtual methods
2013-05-18irc::stringjoiner cleanupattilamolnar
- Get rid of unused constructors - signed -> unsigned - return const ref from GetJoined()
2013-05-18Deduplicate hex string creation codeattilamolnar
2013-05-18Merge pull request #543 from SaberUK/master+sizeparam-removalAttila Molnar
Remove the size argument from IsChannel and IsNick.
2013-05-18m_channames Fix iteration in ValidateChans()attilamolnar
Spotted by @Adam-
2013-05-18Merge pull request #541 from SaberUK/master+chanlogAttila Molnar
Purge the old chanlog code from the module file.
2013-05-18Remove the size argument from IsChannel and IsNick.Peter Powell
There was only one case (which was probably an error) where these methods were not set to their ServerLimits value.
2013-05-18Purge the old chanlog code from the module file.Peter Powell
2013-05-18m_httpd_acl Reread config on rehashattilamolnar
2013-05-18m_geoip Set cc in OnSetConnectClass to the newly created string if it was NULLattilamolnar
2013-05-18Initialize local_countattilamolnar
2013-05-16Fix m_randquote with 0 quotesAdam
2013-05-16Added a function to replace all the ugly sprintf-ing everywhereDaniel Vassdal
2013-05-16Fix padding bug in GenerateSID(), spotted by @ShutterQuickattilamolnar
2013-05-16Workaround for std::list::size() having linear complexity on some ↵attilamolnar
implementations
2013-05-16Remove unused variables, avoid copies where possible, check empty() instead ↵attilamolnar
of size() == 0 Most of these were detected by cppcheck
2013-05-16Merge pull request #538 from SaberUK/master+silence-gccAdam
Fix GCC warnings about using C++11 features when not in C++11 mode.
2013-05-16Fix GCC warnings about using C++11 features when not in C++11 mode.Peter Powell
2013-05-16Merge pull request #537 from SaberUK/master+fix-pollAdam
Fix the poll socket engine.
2013-05-16Fix the poll socket engine.Peter Powell
2013-05-16Merge pull request #536 from SaberUK/master+fix-kqueue-testAdam
Fix kqueue test on non-Apple BSDs.
2013-05-16Fix kqueue test on non-Apple BSDs.Peter Powell
2013-05-16Merge pull request #521 from SaberUK/master+configure-testsAdam
Improve feature detection in configure.
2013-05-16Improve feature detection in configure.Peter Powell
2013-05-16Get rid of strlcpy(), strlcat(), charlcat() and charremove()attilamolnar
2013-05-16m_joinflood Make the code friendlier, unset +j when the module is unloadedattilamolnar
See 21c3232b8e0bb41727f2d65a0b2d5304587cf6be and fae560cddc389b88c9cd34afdccf9035f4d11c5b
2013-05-16irc::Spacify--attilamolnar
2013-05-16Allow spaces (and more) in oper typesattilamolnar
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv
2013-05-15Merge pull request #514 from SaberUK/master+virtual-cleanupAttila Molnar
Remove virtual keyword from a ton of methods which don't need it, introduce CXX11_OVERRIDE.
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-05-15Merge pull request #531 from SaberUK/master+snprintf-removalAdam
Replace some C-isms with C++-isms.
2013-05-15Fix thread handle leak in threadengine_win32attilamolnar
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2013-05-14Merge pull request #523 from SaberUK/master+server-noticeAttila Molnar
Add method for writing server notices.
2013-05-14Add method for writing server notices.Peter Powell
This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
2013-05-14m_spanningtree UID handler: Fix parsing user modesattilamolnar
Spotted by @ShutterQuick Issue #532
2013-05-07Clean up cross-platform compatibility.Peter Powell
- Move compatibility macros to a new header file. - Sort system include files in alphabetical order. - Clean up signal handling (thanks to Adam).
2013-05-06Merge pull request #526 from SaberUK/insp20+connectban-fixAttila Molnar
[2.0] Fix an extremely low risk crash bug in m_connectban.
2013-05-06Fix an extremely low risk crash bug in m_connectban.Peter Powell
2013-05-02m_ssl_gnutls Call gnutls_transport_set_errno() on Windows onlyattilamolnar
2013-05-02Fix gnutls (again) on Windows by using gnutls_transport_set_errno()Adam
2013-05-02Fix logfile path on WindowsAdam
Fixes issue #510 reported by @JDowny
2013-05-02Fix disabling IPV6_V6ONLY on sockets, issue #511Adam