summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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-21Merge pull request #545 from SaberUK/master+logging-cleanupAttila Molnar
Clean up the logging system (part 1 of 2).
2013-05-21Convert XLine::Displayable to return a std::string.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-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-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-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-16Added a function to replace all the ugly sprintf-ing everywhereDaniel Vassdal
2013-05-16Fix padding bug in GenerateSID(), spotted by @ShutterQuickattilamolnar
2013-05-16Fix the poll socket engine.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