summaryrefslogtreecommitdiff
path: root/src/commands
AgeCommit message (Collapse)Author
2014-02-14Move GetPrefixChar() from Channel to MembershipAttila Molnar
2014-02-14Return a Membership* from get_first_visible_channel() in cmd_who and pass ↵Attila Molnar
that to modules
2014-02-09Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)Attila Molnar
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Move socketengine stats into a new classAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-01-31Remove a few unnecessary .c_str() callsAttila Molnar
2014-01-25Add Channel* parameter to OnSendWhoLineAttila Molnar
2014-01-25Omit the server name internally when building a /STATS reply and prepend it ↵Attila Molnar
later
2014-01-25Convert InspIRCd::PassCompare to return bool instead of int.Peter Powell
The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
2014-01-24cmd_invite Fix incorrect parameter being passed to InspIRCd::Duration()Attila Molnar
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-21Increase the penalty for a few core commandsAttila Molnar
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2014-01-06Automatically register and unregister mode watchersAttila Molnar
2014-01-05Move server description field from TreeServer into Server; remove ↵Attila Molnar
OnGetServerDescription hook
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2014-01-05Improve UserManager::QuitUser() and related codeAttila Molnar
- Make operreason optional; NULL means same as quitreason - Remove User::quietquit, it is now handled internally in spanningtree - Send snotice about quitting remote users from spanningtree
2013-12-18Add m_showfile, remove cmd_rulesAttila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
2013-12-15Make various self contained methods static.Peter Powell
- InspIRCd::IsValidMask - InspIRCd::TimeString
2013-12-15Move stuff around a bit:Peter Powell
- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-11-21Fix a few issuesattilamolnar
- Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
2013-11-21Disallow remote /MODULES for non-opers.Daniel Vassdal
2013-11-12Fix remote /MODULES bugDaniel Vassdal
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-11Convert cmd_modenotice into an optional moduleattilamolnar
2013-09-11Move prefix mode specific fields and getters into PrefixModeattilamolnar
Add ModeHandler::IsPrefixMode()
2013-09-08Remove InspIRCd::HandleRehash functorattilamolnar
Call InspIRCd::Rehash() from cmd_rehash and from the SIGHUP handler
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-30Merge insp20attilamolnar
2013-08-28m_spanningtree Propagate topic changes via FTOPIC in order to prevent desync ↵attilamolnar
when two TOPIC messages cross TOPIC is no longer accepted from servers using the new protocol
2013-08-27Fix crash caused by passing a large integer to ctime()attilamolnar
In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds Reported by @JDowny
2013-08-25Clean up the protocol interfaceattilamolnar
2013-08-19Remove cmd_map from the coreattilamolnar
2013-08-13Store oper types and opers in separate containersattilamolnar
2013-08-12cmd_whowas Major cleanup, fix inefficienciesattilamolnar
2013-08-12Add ConfigTag::getDuration() with optional bounds checkingattilamolnar
2013-08-10Replace range() with min and max arguments on getInt().Peter Powell
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-09Remove virtual User::GetClass() (but keep LocalUser::GetClass())attilamolnar
2013-08-09Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵attilamolnar
ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
2013-08-08Fix a couple of issuesattilamolnar
- Wrong doc for Snomask::GetDescription() - Incorrect idle time when WHOISing remote users - String + int = garbage - Remote MODE commands (user mode changes) being broadcast in addition to being forwarded - Incorrect revision being shown
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-19Replace hardcoded mode letters, part 3attilamolnar
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler