summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2014-07-03Get rid of irc::strings (assign()) in User::ChangeNick()Attila Molnar
2014-07-03Deduplicate code in User::ChangeNick()Attila Molnar
2014-07-03Remove now needless User::ForceNickChange()Attila Molnar
Change call sites to call ChangeNick()
2014-07-03Move calling the OnUserPreNick() hook and the restrictbannedusers check from ↵Attila Molnar
core to cmd_nick (core_user)
2014-06-20Check Q-Lines on nick change in core_xlineAttila Molnar
2014-06-20Reject nickname case changes too when enforcing <security:restrictbannedusers>Attila Molnar
2014-06-20Change the type of the user parameter in the OnUserPreNick() hook from User ↵Attila Molnar
to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks.
2014-06-20Increment serverstats::Collisions when a collision is handled, not when a ↵Attila Molnar
module denies a nick change
2014-06-14Kill needless #includes in source filesAttila Molnar
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
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-13Change allocation of InspIRCd::stats to be physically part of the object ↵Attila Molnar
containing it While at it, remove "stats" from all field names
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-11Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.Peter Powell
Remove channels/high-join-limit privilege
2014-04-02Remove unused User::WriteCommonExcept()Attila Molnar
WriteCommonRaw(msg, false) has similiar functionality with a std::string parameter
2014-04-02Move User::SendAll() into core_privmsgAttila Molnar
This functionality is only used by the PRIVMSG and NOTICE handlers
2014-04-02Remove User::WriteTo() functions; use User::WriteFrom() insteadAttila Molnar
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().
2014-03-25Change storage of UserManager::all_opers to be a vectorAttila Molnar
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-03-08Make the maximum hostname length configurable in the config.Peter Powell
2014-03-03Update nick timestamps in User::ChangeNick(), pass the new TS in a parameterAttila Molnar
2014-02-27Remove REG_ALL checks from User::SharesChannelWith()Attila Molnar
These checks are never true currently and even if one or both users are unregistered proceeding is harmless
2014-02-21Index Channel::modes and User::modes with the id of the mode instead of its ↵Attila Molnar
letter
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-06Fix various cases of UUID exposure.Peter Powell
- 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.
2014-01-25Convert InspIRCd::PassCompare to return bool instead of int.Peter Powell
The insane behaviour of this method was due to an implementation detail which has since become irrelevent.
2014-01-25Destroy Memberships of a quitting user in QuitUser() instead of in cull()Attila Molnar
2014-01-24Remove classbase inheritance from InvitationAttila Molnar
2014-01-24Convert LocalUserList to an intrusively linked listAttila Molnar
2014-01-24Convert UserChanList to an intrusively linked listAttila Molnar
2014-01-23Remove whitespace and minor style changesAttila Molnar
2014-01-21Merge insp20Attila Molnar
2014-01-21Fix some logically dead code which was found by Coverity.Peter Powell
2014-01-13Don't send the "your unique ID" (numeric 042) message on connectAttila Molnar
2014-01-09Stop null checking pointers that are always validAttila Molnar
2014-01-05Introduce Server classAttila Molnar
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
2014-01-05Improve UserManager::QuitUser() and related codeAttila Molnar
- 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
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-08-31Improve support for rarely used compilers, EKOPath in this case.ChrisTX
2013-08-12Clean up a few constructorsattilamolnar
Do not silently correct a zero TS in Channel::Channel(); require callers to supply a valid TS instead
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-09Remove virtual User::GetClass() (but keep LocalUser::GetClass())attilamolnar
2013-08-09Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵attilamolnar
ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
2013-08-09Move host cycle logic into m_hostcycleattilamolnar
2013-08-04Call ModeParser::Process() directly instead of going through the CommandParserattilamolnar
Simplify the way how m_conn_umodes assembles the modes it sets
2013-08-04FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() ↵attilamolnar
them from clientlist
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam