aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Pass the ModeHandler to User::HasModePermission()Gravatar Attila Molnar2016-08-301-3/+4
| | | | Mark the method as const
* 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 ↵Gravatar Attila Molnar2016-03-291-2/+1
| | | | SpanningTree::RemoteUser
* Handle numerics with a source other than the local server in ↵Gravatar Attila Molnar2016-03-291-1/+2
| | | | User::WriteNumeric()
* Remove now unused overload of User::SendText()Gravatar Attila Molnar2016-03-221-17/+0
|
* Add User::WriteRemoteNotice()Gravatar Attila Molnar2016-03-011-0/+10
| | | | Sends a NOTICE from the local server to the user which can be local or remote
* Remove unnecessary std::string::c_str() callsGravatar Attila Molnar2016-02-251-1/+1
|
* Add User::WriteRemoteNumeric() and switch code using SendText() to send ↵Gravatar Attila Molnar2016-02-251-0/+6
| | | | numerics to it
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-20/+11
| | | | parameters
* Add Numeric::NumericGravatar Attila Molnar2016-02-251-0/+16
|
* Do not insert FakeUsers into UserManager::uuidlistGravatar Attila Molnar2015-12-071-4/+7
| | | | Inserting them causes FindUUID() and FindNick() to return server users which is not what modules want
* Move already sent id rollover handling and static LocalUser::already_sent_id ↵Gravatar Attila Molnar2015-11-031-2/+0
| | | | into UserManager
* Add UserManager::NextAlreadySentId() and convert all code to use itGravatar Attila Molnar2015-11-031-1/+1
|
* Rewrite invite systemGravatar Attila Molnar2015-11-021-23/+0
| | | | | | | | - 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
* Fix oversights in substr() conversionGravatar Attila Molnar2015-02-271-1/+1
| | | | Thanks to @StevenVanAcker for reporting and testing this
* 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() usageGravatar Attila Molnar2015-01-101-2/+2
| | | | substr() returns a new string while erase() and assign() modify the existing one
* Unset oper-only modes in User::UnOper() in a more sensible wayGravatar Attila Molnar2014-09-051-3/+4
| | | | Get the user mode list from the ModeParser instead of trying all possible mode letters
* 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 ↵Gravatar Attila Molnar2014-07-281-2/+0
| | | | | | their uuid, leave it to Extensible This does not take uuid/sid reuse into consideration and Extensible implements this detection already in a proper way
* Allow fast sid reuse by erasing fake users from UserManager::uuidlist when ↵Gravatar Attila Molnar2014-07-281-1/+1
| | | | the netsplit is handled, not in cull()
* 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
| | | | | | | | never NULL
* | 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()Gravatar Attila Molnar2014-07-031-1/+1
| | | | | | | | Change call sites to call ChangeNick()
* | Move calling the OnUserPreNick() hook and the restrictbannedusers check from ↵Gravatar Attila Molnar2014-07-031-26/+0
| | | | | | | | core to cmd_nick (core_user)
* | 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
| |
* | Change the type of the user parameter in the OnUserPreNick() hook from User ↵Gravatar Attila Molnar2014-06-201-2/+4
| | | | | | | | | | | | | | | | to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks.
* | Increment serverstats::Collisions when a collision is handled, not when a ↵Gravatar Attila Molnar2014-06-201-3/+0
| | | | | | | | module denies a nick change
* | Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-2/+0
| |
* | Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-3/+3
| | | | | | | | containing it
* | Change allocation of InspIRCd::BanCache to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-1/+1
| | | | | | | | containing it
* | Pull in bancache.h from inspircd.hGravatar Attila Molnar2014-06-131-1/+0
| |
* | Change allocation of InspIRCd::stats to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-4/+4
| | | | | | | | | | | | containing it While at it, remove "stats" from all field names
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-2/+2
| |
* | Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.Gravatar Peter Powell2014-04-111-1/+1
| | | | | | | | Remove channels/high-join-limit privilege
* | Remove unused User::WriteCommonExcept()Gravatar Attila Molnar2014-04-021-11/+0
| | | | | | | | WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter