summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-05-27Simplify user mode removal via ModeHandler::RemoveMode()attilamolnar
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
2013-05-27Deduplicate RemoveMode() implementationsattilamolnar
The default (core) implementation can now remove prefix modes The modestacker parameter is now mandatory
2013-05-27Clean up the FileReader class and all of the modules that use it.Peter Powell
- 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.
2013-05-24LogManager cleanupattilamolnar
2013-05-24Cache mode list that is sent in the 004 numericattilamolnar
Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code
2013-05-24Remove dead ModeParser codeattilamolnar
2013-05-23m_nicklock Fix wrong hook in SetPriority()attilamolnar
2013-05-23Update authorsattilamolnar
2013-05-23Add a va_copy define for WindowsAdam
2013-05-23Some systems with whacky va_list implementations do undefined stuff when ↵Adam
vsnprintf is called multiple times with the same list, so have InspIRCd::Format va_copy the list before each call
2013-05-23Change CacheRefreshTimer tick time back to 5 minutesAdam
2013-05-22m_mysql Fix crash on rehash when the database tags have been changed in the ↵attilamolnar
config
2013-05-21Merge pull request #545 from SaberUK/master+logging-cleanupAttila Molnar
Clean up the logging system (part 1 of 2).
2013-05-21Merge pull request #522 from SaberUK/master+xline-displayableAttila Molnar
Convert XLine::Displayable to return a std::string.
2013-05-21Convert XLine::Displayable to return a std::string.Peter Powell
2013-05-20Fix msvc detection of variadic template supportPeter Powell
2013-05-20Merge pull request #548 from SaberUK/master+variadic-templatesAdam
Add support for detecting C++11 variadic templates.
2013-05-21Add support for detecting C++11 variadic templates.Peter Powell
2013-05-20Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵attilamolnar
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
2013-05-20Fixup last commitAdam
2013-05-20Merge pull request #542 from ShutterQuick/inspircd+printfcleanupAttila Molnar
Replaced all the individual vsnprintfing with a macro
2013-05-19Fix spacing in calls to LogManager::Log.Peter Powell
2013-05-19Accept a LogLevel instead of an int in logging methods.Peter Powell
2013-05-19Purge a ton of code related to non <log> related logging.Peter Powell
- InspIRCd::OpenLog - ./inspircd --logfile [file] This is no longer needed now we have (since 1.2) custom logging.
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()