aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move User::SendAll() into core_privmsgGravatar Attila Molnar2014-04-021-13/+0
| | | | | | | | This functionality is only used by the PRIVMSG and NOTICE handlers
* | Remove User::WriteTo() functions; use User::WriteFrom() insteadGravatar Attila Molnar2014-04-021-16/+1
| | | | | | | | The removed functions were rarely used and all they did was to call User::WriteFrom() with swapped arguments. On call sites, WriteTo() hardly offers any readability improvement over WriteFrom().
* | Change storage of UserManager::all_opers to be a vectorGravatar Attila Molnar2014-03-251-2/+2
| |
* | Rewrite clone counting to use one map instead of twoGravatar Attila Molnar2014-03-171-2/+3
| |
* | Change allocation of UserManager::clientlist to be physically part of the ↵Gravatar Attila Molnar2014-03-151-4/+4
| | | | | | | | object containing it
* | Change allocation of UserManager::uuidlist to be physically part of the ↵Gravatar Attila Molnar2014-03-141-3/+3
| | | | | | | | object containing it
* | Make the maximum hostname length configurable in the config.Gravatar Peter Powell2014-03-081-1/+1
| |
* | Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterGravatar Attila Molnar2014-03-031-1/+4
| |
* | Remove REG_ALL checks from User::SharesChannelWith()Gravatar Attila Molnar2014-02-271-3/+0
| | | | | | | | These checks are never true currently and even if one or both users are unregistered proceeding is harmless
* | Index Channel::modes and User::modes with the id of the mode instead of its ↵Gravatar Attila Molnar2014-02-211-6/+5
| | | | | | | | letter
* | Change all socketengine methods to be staticGravatar Attila Molnar2014-02-081-1/+1
| |
* | Fix various cases of UUID exposure.Gravatar Peter Powell2014-02-061-4/+4
| | | | | | | | | | | | | | - Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
* | Convert InspIRCd::PassCompare to return bool instead of int.Gravatar Peter Powell2014-01-251-1/+1
| | | | | | | | | | The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
* | Destroy Memberships of a quitting user in QuitUser() instead of in cull()Gravatar Attila Molnar2014-01-251-3/+2
| |
* | Remove classbase inheritance from InvitationGravatar Attila Molnar2014-01-241-1/+0
| |
* | Convert LocalUserList to an intrusively linked listGravatar Attila Molnar2014-01-241-12/+1
| |
* | Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-10/+11
| |
* | Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+1
| |
* | Merge insp20Gravatar Attila Molnar2014-01-211-1/+1
|\|
| * Fix some logically dead code which was found by Coverity.Gravatar Peter Powell2014-01-211-13/+3
| |
| * Improve support for rarely used compilers, EKOPath in this case.Gravatar ChrisTX2013-08-311-1/+1
| |
| * Fix generated snomask mode change string being incosistent with the input in ↵Gravatar attilamolnar2013-07-201-1/+1
| | | | | | | | certain cases, spotted by @Robby-
* | Don't send the "your unique ID" (numeric 042) message on connectGravatar Attila Molnar2014-01-131-1/+0
| |
* | Stop null checking pointers that are always validGravatar Attila Molnar2014-01-091-1/+1
| |
* | Introduce Server classGravatar Attila Molnar2014-01-051-5/+5
| | | | | | | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* | Improve UserManager::QuitUser() and related codeGravatar Attila Molnar2014-01-051-1/+1
| | | | | | | | | | | | - 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
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-13/+13
| | | | | | | | automatically
* | Clean up a few constructorsGravatar attilamolnar2013-08-121-4/+1
| | | | | | | | Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
* | Rename <connect:nouserdns> to <connect:resolvehostnames>.Gravatar Peter Powell2013-08-101-3/+3
| | | | | | | | | | This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
* | Remove virtual User::GetClass() (but keep LocalUser::GetClass())Gravatar attilamolnar2013-08-091-15/+0
| |
* | Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵Gravatar attilamolnar2013-08-091-3/+3
| | | | | | | | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* | Move host cycle logic into m_hostcycleGravatar attilamolnar2013-08-091-77/+0
| |
* | Call ModeParser::Process() directly instead of going through the CommandParserGravatar attilamolnar2013-08-041-1/+1
| | | | | | | | Simplify the way how m_conn_umodes assembles the modes it sets
* | FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() ↵Gravatar attilamolnar2013-08-041-1/+1
| | | | | | | | them from clientlist
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-12/+12
| |
* | Get rid of enum UserModes and mark User::modes as privateGravatar attilamolnar2013-07-191-3/+5
| |
* | Replace hardcoded mode letters, part 3Gravatar attilamolnar2013-07-191-7/+0
| | | | | | | | This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
* | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵Gravatar attilamolnar2013-07-191-97/+0
| | | | | | | | User class to the snomask modehandler
* | Allow for skipping clone checking before DNS is complete.Gravatar Daniel Vassdal2013-07-021-13/+16
| |
* | Convert User::SendText to use std::string.Gravatar Peter Powell2013-06-061-17/+10
| |
* | Convert User::FormatNoticeMasks() to use std::string.Gravatar Peter Powell2013-06-061-6/+4
| |
* | Replace some C string operations with the + operator.Gravatar Peter Powell2013-06-061-64/+8
| |
* | Use InspIRCd::Format instead of snprintf().Gravatar Peter Powell2013-06-061-4/+4
| |
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-3/+3
| |
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
| |
* | Merge insp20Gravatar attilamolnar2013-06-061-0/+3
|\|
| * Workaround for std::list::size() having linear complexity on some ↵Gravatar attilamolnar2013-05-161-0/+3
| | | | | | | | implementations
* | Cache mode list that is sent in the 004 numericGravatar attilamolnar2013-05-241-4/+2
| | | | | | | | Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-75/+28
| |
* | Get rid of the NICKForced extensionGravatar attilamolnar2013-05-181-10/+9
| | | | | | | | Don't run OnUserPreNick when the nick change is forced