summaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
AgeCommit message (Collapse)Author
2020-03-12Implement support for the SERVLIST command.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-12-28Ignore clients on ulined servers when reporting stats in LUSERS.Peter Powell
2019-11-16Close connections when an I/O hook is configured but not loaded.Peter Powell
2019-07-21Allow modules to prevent a failed connection from being closed.Peter Powell
2019-06-24Add OnUserPreQuit event to allow modules to change quit messages (#1629).iwalkalone
2019-04-04Document OnUserInit properly and add OnUserPostInit.Peter Powell
2019-02-15Rename User::nping to nextping for consistency with lastping.Peter Powell
2019-02-15Refactor UserManager::DoBackgroundUserStuff().Peter Powell
2019-01-20Call the OnUserInit hook from earlier in UserManager::AddUser.Peter Powell
This fixes messages being lost when sending them to a user who has only just connected to the server.
2019-01-09Improve X-line text consistency.Matt Schatz
- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be>
2018-12-12Fix a crash when the core_oper module is not loaded.Peter Powell
2018-11-07Merge tag 'v2.0.27' into master.Peter Powell
2018-11-04Fix exposing the ban reason when an xline is found in the bancache.Peter Powell
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
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-08-24Update UserManager documentation and commentsAttila Molnar
2016-08-24Check for errors after calling IOHookProvider::OnAccept()Attila Molnar
2016-08-24Call IOHookProviders after the socket has been added to the SocketEngine in ↵Attila Molnar
UserManager::AddUser()
2016-08-24Add socket into the SocketEngine as soon as possible in UserManager::AddUser()Attila Molnar
2016-08-17Merge insp20Attila Molnar
2016-08-10Initialize more User and LocalUser fields using the init listAttila Molnar
2016-08-08Keep multiple IOHookProvider references in class ListenSocketAttila Molnar
This adds the <bind:hook> config option which works together with <bind:ssl>
2016-06-13Stop processing the new connection in UserManager::AddUser() when an ↵Attila Molnar
internal SocketEngine error happens and the user is quitted
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-11-03Remove UserManager::GarbageCollect()Attila Molnar
2015-11-03Move already sent id rollover handling and static LocalUser::already_sent_id ↵Attila Molnar
into UserManager
2015-11-03Add UserManager::NextAlreadySentId() and convert all code to use itAttila Molnar
2015-11-02Rewrite invite systemAttila Molnar
- 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
2015-05-22Remove dead code from UserManager::AddUser()Attila Molnar
2015-05-22Fix some oversightsAttila Molnar
2015-04-20Merge insp20Attila Molnar
2015-03-21Rebuild clone counts on rehashAdam
2015-02-05Merge pull request #971 from SaberUK/master+numeric-xlineAttila Molnar
Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.
2015-01-24Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManagerAttila Molnar
2015-01-24Use ERR_YOUREBANNEDCREEP instead of NOTICE when a user is banned.Peter Powell
This is specified in RFC 1459 so we should probably use it.
2014-12-30Fix signon time of clients being off by dns_timeout secondsAttila Molnar
2014-08-04Fix off by one in ping timeout.md-5
Been bugging me that users ping timeout at 121 rather than 120 seconds by default.
2014-07-19Move and rename typedef LocalUserList to UserManager::LocalListAttila Molnar
2014-07-19Erase local users from UserManager::local_list in QuitUser()Attila Molnar
2014-06-13Change allocation of InspIRCd::BanCache to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Pull in bancache.h from inspircd.hAttila Molnar
2014-06-07Relax fd bounds checkingAttila Molnar
We can cope with fds greater than SocketEngine::GetMaxFds() since 3752b3f59d5216d7dc6221a361efc76b9ad2273d
2014-03-17Rewrite clone counting to use one map instead of twoAttila Molnar
2014-03-15Change allocation of UserManager::clientlist to be physically part of the ↵Attila Molnar
object containing it
2014-03-14Change allocation of UserManager::uuidlist to be physically part of the ↵Attila Molnar
object containing it
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-04Fix ping timeout message seconds vs secondAdam
2014-01-25Destroy Memberships of a quitting user in QuitUser() instead of in cull()Attila Molnar
2014-01-24Convert LocalUserList to an intrusively linked listAttila Molnar