aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-2/+2
| | | | GCCs warnings for this are much better than Clangs.
* Add a class which encapsulates the concept of token lists.Gravatar Peter Powell2017-11-131-4/+2
|
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-2/+2
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Clean up User::FormatModes(), rename to GetModeLetters()Gravatar Attila Molnar2016-12-301-1/+1
| | | | Prefix the returned string with '+'
* Return std::string from Membership::GetAllPrefixChars()Gravatar Attila Molnar2016-08-301-1/+1
|
* Replace loop over alphabet with loop over mode list in several placesGravatar Attila Molnar2016-08-301-11/+15
|
* Pass the ModeHandler to User::HasModePermission()Gravatar Attila Molnar2016-08-301-2/+2
| | | | Mark the method as const
* Ensure server names passed to some commands are really server namesGravatar Attila Molnar2016-03-291-1/+1
|
* m_check Move DumpExt() into CheckContextGravatar Attila Molnar2016-03-191-18/+18
|
* m_check Move DumpListMode() into CheckContextGravatar Attila Molnar2016-03-191-13/+13
|
* m_check Refactor, move to the new RPL_CHECK numericGravatar Attila Molnar2016-03-191-80/+102
|
* Remove unnecessary std::string::c_str() callsGravatar Attila Molnar2016-02-251-1/+1
|
* Merge insp20Gravatar Attila Molnar2016-02-221-1/+1
|\
| * Fix incorrect std::string::operator[] usageGravatar Attila Molnar2015-09-281-1/+1
| | | | | | | | Passing a position equal to length() to the non-const version of operator[] is undefined
* | Merge insp20Gravatar Attila Molnar2015-04-201-2/+4
|\|
| * m_check Fix non-standard format specifier %s passed to strftime() causing ↵Gravatar Attila Molnar2014-12-271-2/+4
| | | | | | | | problems on systems not supporting it (Windows)
* | Add typedef PrivSet for OperInfo::AllowedOperCommands and AllowedPrivsGravatar Attila Molnar2014-12-151-2/+2
| |
* | Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\|
| * Fix harmless loop off-by-ones found by MoonlightningGravatar satmd2014-06-071-1/+1
| |
* | Rename UserChanList to User::ChanList, remove UCListIterGravatar Attila Molnar2014-07-141-1/+1
| |
* | Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadGravatar Attila Molnar2014-07-141-1/+1
| |
* | Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-1/+1
| |
* | Change return type of Channel::GetUsers() to reference from pointer as it is ↵Gravatar Attila Molnar2014-07-141-2/+2
| | | | | | | | never NULL
* | Check if Membership::GetPrefixChar() returns 0 before appending it to a stringGravatar Attila Molnar2014-03-311-1/+3
| | | | | | | | Spotted by @barosl
* | Rewrite clone counting to use one map instead of twoGravatar Attila Molnar2014-03-171-2/+3
| |
* | Add UserManager::GetUsers()Gravatar Attila Molnar2014-03-151-1/+2
| |
* | Move GetAllPrefixChars() from Channel to MembershipGravatar Attila Molnar2014-02-141-1/+1
| |
* | Move GetPrefixChar() from Channel to MembershipGravatar Attila Molnar2014-02-141-2/+4
| |
* | Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-1/+1
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Remove some pointless code:Gravatar Peter Powell2013-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Send ListModeBase modes implicitly on channel syncGravatar attilamolnar2013-09-121-23/+24
| | | | | | | | Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
| |
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
| |
* | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵Gravatar attilamolnar2013-07-191-1/+15
| | | | | | | | User class to the snomask modehandler
* | Seperate ModeReference into ChanModeReference and UserModeReferenceGravatar attilamolnar2013-07-191-1/+1
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Use InspIRCd::Format instead of snprintf().Gravatar Peter Powell2013-06-061-5/+6
| |
* | Allow spaces (and more) in oper typesGravatar attilamolnar2013-05-161-1/+1
| | | | | | | | | | The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-2/+2
| | | | | | | | | | - 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.
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-2/+2
| |
* | Migrate u_listmode.h into the core, change +b to use itGravatar attilamolnar2013-04-081-13/+10
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-6/+0
| |
* | Move member variables from User to LocalUserGravatar attilamolnar2013-04-011-1/+1
|/ | | | | | | | - idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
* m_check, m_namesx, m_timedbans Minor cleanupGravatar attilamolnar2012-11-241-2/+1
|
* Remove superfluous std::string()sGravatar attilamolnar2012-10-121-1/+1
|
* m_check: Include IP and gecos in host/IP-mask lookup resultsGravatar Robby-2012-06-121-2/+2
|
* Module description updatesGravatar Robby-2012-05-301-3/+3
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Fix incorrect check of mode permissions when displaying themGravatar danieldg2010-02-101-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12422 e03df62e-2008-0410-955e-edbf42e46eb7