summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2013-07-20Fix generated snomask mode change string being incosistent with the input in ↵attilamolnar
certain cases, spotted by @Robby-
2013-07-19Get rid of enum UserModes and mark User::modes as privateattilamolnar
2013-07-19Replace hardcoded mode letters, part 3attilamolnar
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-07-02Allow for skipping clone checking before DNS is complete.Daniel Vassdal
2013-06-06Convert User::SendText to use std::string.Peter Powell
2013-06-06Convert User::FormatNoticeMasks() to use std::string.Peter Powell
2013-06-06Replace some C string operations with the + operator.Peter Powell
2013-06-06Use InspIRCd::Format instead of snprintf().Peter Powell
2013-06-06Compare to ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Reserve ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Merge insp20attilamolnar
2013-05-24Cache mode list that is sent in the 004 numericattilamolnar
Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code
2013-05-18Replaced vsnprintf with VAFORMAT pretty much everywhere.Daniel Vassdal
2013-05-18Get rid of the NICKForced extensionattilamolnar
Don't run OnUserPreNick when the nick change is forced
2013-05-16Workaround for std::list::size() having linear complexity on some ↵attilamolnar
implementations
2013-05-16Get rid of strlcpy(), strlcat(), charlcat() and charremove()attilamolnar
2013-05-16Allow spaces (and more) in oper typesattilamolnar
The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2013-05-14Add method for writing server notices.Peter Powell
This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
2013-04-28Merge insp20attilamolnar
2013-04-27Move <performance:nouserdns> to <connect:nouserdns>.Peter Powell
2013-04-26Modularize DNSAdam
The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
2013-04-21Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵attilamolnar
errors in m_callerid
2013-04-19Immediately stop processing whenever we detect and handle a RecvQ overrunattilamolnar
Thanks to @SimosNap for the report and cooperation
2013-04-14Extract UID/SID generation logic into a new class: UIDGeneratorattilamolnar
2013-04-13Remove the deprecated invite APIattilamolnar
2013-04-12Add LOG_ prefix to the log level enum values.Peter Powell
2013-04-11Convert ISUPPORT to use a map instead of a string.Peter Powell
2013-04-10Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()attilamolnar
2013-04-09Move most whois related code from the core into cmd_whoisattilamolnar
2013-04-04Make cmd_whowas act like a module, remove special handlingattilamolnar
2013-04-01Move member variables from User to LocalUserattilamolnar
- idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
2013-04-01Change User::GetIPString() to return const std::string&attilamolnar
2013-04-01Send LUSERS before MOTDattilamolnar
Issue #399
2013-04-01Remove legacy code, mostly related to 1.2 compatibilityattilamolnar
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
2012-12-09Remove ServerLimits::Finalise(), it's completely wrongattilamolnar
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-11-29Make LocalUserList an std::listattilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-11-29Reorder local user initialization stepsattilamolnar
OnSetUserIP hook now runs after the user has a connect class and the g/k/z lines were checked (ip only, no host at that point) Fixes #360 reported by @JDowny Allows #336
2012-11-19Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()attilamolnar
2012-10-21Make better use of User::GetFullRealHost()attilamolnar
2012-10-12Fix unregistered users getting global notices, also fix certain commands ↵attilamolnar
working on unregistered users, spotted by @Adam-
2012-10-03Fix (d)host starting with ':' for some IPv6 clientsattilamolnar
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-09-23Fix undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
2012-09-13Call OnUserSetIP() whenever the IP of a local user changes, set ↵attilamolnar
ident,host,dhost in LocalUser constructor
2012-08-25Add a config option to enable/disable the welcome notice sent to clients ↵attilamolnar
after successful registration Fixes #284 reported by @hoggeh
2012-07-27Don't hard code the branch version.Peter Powell