summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2019-06-12Default idents to the uuid of the connecting user.Peter Powell
2019-05-09Delete some obsolete comments.Peter Powell
2019-04-28Textual improvements and fixes such as typos, casing, etc. (#1612)Robby
2019-04-21HasModePermission: fix inverted condition.Peter Powell
2019-04-19HasModePermission: use IsModeChar.Peter Powell
2019-04-19Rename HasPermission to HasCommandPermission.Peter Powell
2019-04-19Remove the 'noisy' mode for HasPrivPermission.Peter Powell
This was only used in one place.
2019-02-17Fix an off-by-one error in User::GetModeLetters().Peter Powell
2019-02-15Replace GetServerPort() with server_sa.port().Peter Powell
2019-02-15Rename User::nping to nextping for consistency with lastping.Peter Powell
2019-02-05Move <oper:class> and <oper:vhost> to core_oper.Peter Powell
2019-01-28Fix erroneously sending RPL_YOURDISPLAYEDHOST to HAProxy clients.Peter Powell
2019-01-24Remove trailing whitespace from various source files.Peter Powell
2019-01-24Implement support for the extended tag space for client tags.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-14Redo OnSetEndPoint logic to fix duplicate clones (#1549).linuxdaemon
2018-12-12Fix a crash when the core_oper module is not loaded.Peter Powell
2018-09-24Merge branch 'insp20' into master.Peter Powell
2018-08-22Send the 001-004 numerics and MOTD/LUSERS from core_info.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-14Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Peter Powell
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-10Move message parsing to ProcessBuffer and fix edge cases in it.Peter Powell
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-07-30Rename User::fullname to realname and make it private.Peter Powell
2018-07-30Replace most usages of "name" with "real" or "real name".Peter Powell
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-07-26Add a module which implements the HAProxy PROXY v2 protocol.Peter Powell
2018-07-24Make more config stuff case insensitive.Peter Powell
2018-07-20Remove Log() calls made unnecessary by the previous commit.Peter Powell
2018-07-18Add the family() member to the sockaddrs union.Peter Powell
2018-04-22Merge tag 'v2.0.26' into master.Peter Powell
2018-04-09Remove swhois messages set in the oper block on deoper.Peter Powell
Closes #1240.
2018-04-09Optimize some behaviour in the core (#1476).Dylan Frank
2018-01-25Improve performance under load of OnDataReady and remove C-isms.systocrat
Re-use variables initialized within loop, const-ify config variables accessed repeatedly, remove eol_found label. Merges #1451.
2018-01-20Remove duplicated code in LocalUser::GetServerPort().Peter Powell
2017-12-23Fix User::ChangeRealHost() to change the real host properly.Peter Powell
2017-12-22Rename <security:hidewhois> to <security:hideserver>.Peter Powell
The previous name was horrible and didn't describe what the setting actually does.
2017-11-20Inherit non-core connect class settings properly.Peter Powell
Based partially on a patch by Attila.
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-13Add a class which encapsulates the concept of token lists.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-11-05Use InvalidateCache in the sockaddrs overload of OnSetClientIP.Peter Powell
This was done to the string variant in d3b82b2f7f.
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.
2017-10-27Change SetClientIP to take a C++ string instead of a char array.Peter Powell
2017-10-15Clean up the initialization of ConnectClass and ServerConfig.attilamolnar
2017-10-04Fix RPL_SERVERVERSION treating the modes as a single parameter.Peter Powell
2017-09-12Get rid of irc::sockets::satoap().Peter Powell
This function is being misused in all but one scenario. It isn't really worth keeping IMO.
2017-09-03Move <dns:timeout> out of the core.Peter Powell
2017-08-26Make the build reproducible by removing time related macros.Peter Powell
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.