summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
AgeCommit message (Collapse)Author
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-13Add a class which encapsulates the concept of token lists.Peter Powell
2017-10-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2016-12-30Clean up User::FormatModes(), rename to GetModeLetters()Attila Molnar
Prefix the returned string with '+'
2016-08-30Return std::string from Membership::GetAllPrefixChars()Attila Molnar
2016-08-30Replace loop over alphabet with loop over mode list in several placesAttila Molnar
2016-08-30Pass the ModeHandler to User::HasModePermission()Attila Molnar
Mark the method as const
2016-03-29Ensure server names passed to some commands are really server namesAttila Molnar
2016-03-19m_check Move DumpExt() into CheckContextAttila Molnar
2016-03-19m_check Move DumpListMode() into CheckContextAttila Molnar
2016-03-19m_check Refactor, move to the new RPL_CHECK numericAttila Molnar
2016-02-25Remove unnecessary std::string::c_str() callsAttila Molnar
2016-02-22Merge insp20Attila Molnar
2015-09-28Fix incorrect std::string::operator[] usageAttila Molnar
Passing a position equal to length() to the non-const version of operator[] is undefined
2015-04-20Merge insp20Attila Molnar
2014-12-27m_check Fix non-standard format specifier %s passed to strftime() causing ↵Attila Molnar
problems on systems not supporting it (Windows)
2014-12-15Add typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivsAttila Molnar
2014-07-25Merge insp20Attila Molnar
2014-07-14Rename UserChanList to User::ChanList, remove UCListIterAttila Molnar
2014-07-14Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadAttila Molnar
2014-07-14Rename UserMembList to Channel::MemberMap, switch all code to use itAttila Molnar
2014-07-14Change return type of Channel::GetUsers() to reference from pointer as it is ↵Attila Molnar
never NULL
2014-06-07Fix harmless loop off-by-ones found by Moonlightningsatmd
2014-03-31Check if Membership::GetPrefixChar() returns 0 before appending it to a stringAttila Molnar
Spotted by @barosl
2014-03-17Rewrite clone counting to use one map instead of twoAttila Molnar
2014-03-15Add UserManager::GetUsers()Attila Molnar
2014-02-14Move GetAllPrefixChars() from Channel to MembershipAttila Molnar
2014-02-14Move GetPrefixChar() from Channel to MembershipAttila Molnar
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2013-12-15Remove some pointless code:Peter Powell
- Remove the CHARSET entry from ISUPPORT. CHARSET was removed in draft-brocklesby-irc-isupport-03 and we always used the default value anyway. This has also been removed in the latest version of Charybdis. - Remove irc::sockets::satouser. This helper method was longer than the code it replaced.
2013-09-12Send ListModeBase modes implicitly on channel syncattilamolnar
Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-07-19Seperate ModeReference into ChanModeReference and UserModeReferenceattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-06Use InspIRCd::Format instead of snprintf().Peter Powell
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-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-04-10Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()attilamolnar
2013-04-08Migrate u_listmode.h into the core, change +b to use itattilamolnar
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2013-04-01Move member variables from User to LocalUserattilamolnar
- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
2012-11-24m_check, m_namesx, m_timedbans Minor cleanupattilamolnar
2012-10-12Remove superfluous std::string()sattilamolnar
2012-06-12m_check: Include IP and gecos in host/IP-mask lookup resultsRobby-
2012-05-30Module description updatesRobby-
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-02-10Fix incorrect check of mode permissions when displaying themdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12422 e03df62e-2008-0410-955e-edbf42e46eb7