aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* | Make the build reproducible by removing time related macros.•••The compile time on boot is not accurate as it will only change when the translation unit containing it is edited. The startup time in RPL_SERVERCREATED is a lot more useful than the compilation time. ngIRCd also implements this behaviour. Gravatar Peter Powell2017-08-261-1/+1
* | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-2/+2
|\|
| * Merge pull request #1230 from SaberUK/insp20+ipcache•••[2.0] Invalidate the caches properly when User::SetClientIP is called.Gravatar Attila Molnar2017-05-171-2/+2
| |\
| | * Invalidate the caches properly when User::SetClientIP is called.Gravatar Peter Powell2016-09-251-2/+2
| * | Fix users receiving a QUIT with themselves as source when host cycling in cer...•••The OnBuildNeighborList handler in m_auditorium can add the cycling user to the exceptions as an always send exception. To fix, remove the user from the exceptions before processing them. Reported by @genius3000 on IRC Gravatar Attila Molnar2016-12-051-0/+2
| |/
| * Replace dodgy use of const char* and memcpy with std::string.•••This was backported from commit e01df63 in master. Gravatar Peter Powell2014-10-131-14/+7
* | Clean up User::FormatModes(), rename to GetModeLetters()•••Prefix the returned string with '+' Gravatar Attila Molnar2016-12-301-15/+15
* | Make all User::IsModeSet() methods const, accept const ModeHandlerGravatar Attila Molnar2016-12-301-1/+1
* | Deduplicate nickname overruling code•••Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree Gravatar Attila Molnar2016-12-301-5/+12
* | Allow classes to take a port range.Gravatar Peter Powell2016-10-251-6/+7
* | Pass the ModeHandler to User::HasModePermission()•••Mark the method as const Gravatar Attila Molnar2016-08-301-3/+4
* | Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolGravatar Attila Molnar2016-08-291-1/+1
* | Initialize more User and LocalUser fields using the init listGravatar Attila Molnar2016-08-101-8/+12
* | Update style of initializer lists in User and LocalUser constructorsGravatar Attila Molnar2016-08-101-4/+12
* | Remove User::SendText() and overrides completelyGravatar Attila Molnar2016-03-301-21/+0
* | Make User::WriteRemoteNumeric() virtual, implement it in SpanningTree::Remote...Gravatar Attila Molnar2016-03-291-2/+1
* | Handle numerics with a source other than the local server in User::WriteNumer...Gravatar Attila Molnar2016-03-291-1/+2
* | Remove now unused overload of User::SendText()Gravatar Attila Molnar2016-03-221-17/+0
* | Add User::WriteRemoteNotice()•••Sends a NOTICE from the local server to the user which can be local or remote Gravatar Attila Molnar2016-03-011-0/+10
* | Remove unnecessary std::string::c_str() callsGravatar Attila Molnar2016-02-251-1/+1
* | Add User::WriteRemoteNumeric() and switch code using SendText() to send numer...Gravatar Attila Molnar2016-02-251-0/+6
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ...Gravatar Attila Molnar2016-02-251-20/+11
* | Add Numeric::NumericGravatar Attila Molnar2016-02-251-0/+16
* | Do not insert FakeUsers into UserManager::uuidlist•••Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want Gravatar Attila Molnar2015-12-071-4/+7
* | Move already sent id rollover handling and static LocalUser::already_sent_id ...Gravatar Attila Molnar2015-11-031-2/+0
* | Add UserManager::NextAlreadySentId() and convert all code to use itGravatar Attila Molnar2015-11-031-1/+1
* | Rewrite invite system•••- Moved out of core, now lives entirely in core_channel - Accessible using the provided API after including the appropriate header - Invites are stored in an extension attached to LocalUser/Channel objects, they no longer need special handling when destroying these objects or when lowering TS - Expiration of timed invites are implemented using Timers - When creating a new invite let a non-timed invite override a timed one Gravatar Attila Molnar2015-11-021-23/+0
* | Fix oversights in substr() conversion•••Thanks to @StevenVanAcker for reporting and testing this Gravatar Attila Molnar2015-02-271-1/+1
* | Remove needless checks from User::WriteCommon()/WriteCommonRaw()Gravatar Attila Molnar2015-01-241-6/+0
* | Implement User::WriteCommonRaw() using ForEachNeighbor()Gravatar Attila Molnar2015-01-241-33/+21
* | Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManagerGravatar Attila Molnar2015-01-241-40/+0
* | Add User::ForEachNeighbor()Gravatar Attila Molnar2015-01-241-0/+53
* | Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* | Unset oper-only modes in User::UnOper() in a more sensible way•••Get the user mode list from the ModeParser instead of trying all possible mode letters Gravatar Attila Molnar2014-09-051-3/+4
* | Replace irc::modestacker usage with the new ModeParser::Process()Gravatar Attila Molnar2014-09-031-9/+3
* | Do not attempt to detect non-culled users at destruction by looking for their...•••This does not take uuid/sid reuse into consideration and Extensible implements this detection already in a proper way Gravatar Attila Molnar2014-07-281-2/+0
* | Allow fast sid reuse by erasing fake users from UserManager::uuidlist when th...Gravatar Attila Molnar2014-07-281-1/+1
* | Merge insp20Gravatar Attila Molnar2014-07-251-2/+2
|\|
| * Fix harmless loop off-by-ones found by MoonlightningGravatar satmd2014-06-071-2/+2
* | Erase local users from UserManager::local_list in QuitUser()Gravatar Attila Molnar2014-07-191-1/+0
* | Move typedef ClassVector to ServerConfig::ClassVectorGravatar Attila Molnar2014-07-161-2/+2
* | Rename UserChanList to User::ChanList, remove UCListIterGravatar Attila Molnar2014-07-141-2/+2
* | Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-4/+4
* | Change return type of Channel::GetUsers() to reference from pointer as it is ...Gravatar Attila Molnar2014-07-141-4/+4
* | Get rid of irc::strings (assign()) in User::ChangeNick()Gravatar Attila Molnar2014-07-031-3/+3
* | Deduplicate code in User::ChangeNick()Gravatar Attila Molnar2014-07-031-5/+1
* | Remove now needless User::ForceNickChange()•••Change call sites to call ChangeNick() Gravatar Attila Molnar2014-07-031-1/+1
* | Move calling the OnUserPreNick() hook and the restrictbannedusers check from ...Gravatar Attila Molnar2014-07-031-26/+0
* | Check Q-Lines on nick change in core_xlineGravatar Attila Molnar2014-06-201-24/+1
* | Reject nickname case changes too when enforcing <security:restrictbannedusers>Gravatar Attila Molnar2014-06-201-13/+15