aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Replace hardcoded mode letters, part 3Gravatar attilamolnar2013-07-191-7/+0
| | | | | | | | This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
* | Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵Gravatar attilamolnar2013-07-191-97/+0
| | | | | | | | User class to the snomask modehandler
* | Allow for skipping clone checking before DNS is complete.Gravatar Daniel Vassdal2013-07-021-13/+16
| |
* | Convert User::SendText to use std::string.Gravatar Peter Powell2013-06-061-17/+10
| |
* | Convert User::FormatNoticeMasks() to use std::string.Gravatar Peter Powell2013-06-061-6/+4
| |
* | Replace some C string operations with the + operator.Gravatar Peter Powell2013-06-061-64/+8
| |
* | Use InspIRCd::Format instead of snprintf().Gravatar Peter Powell2013-06-061-4/+4
| |
* | Compare to ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-3/+3
| |
* | Reserve ServerLimits::MaxLine instead of MAXBUF.Gravatar Peter Powell2013-06-061-1/+1
| |
* | Merge insp20Gravatar attilamolnar2013-06-061-0/+3
|\|
| * Workaround for std::list::size() having linear complexity on some ↵Gravatar attilamolnar2013-05-161-0/+3
| | | | | | | | implementations
* | Cache mode list that is sent in the 004 numericGravatar attilamolnar2013-05-241-4/+2
| | | | | | | | Deduplicate UserModeList(), ChannelModeList() and ParaModeList() code
* | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-75/+28
| |
* | Get rid of the NICKForced extensionGravatar attilamolnar2013-05-181-10/+9
| | | | | | | | Don't run OnUserPreNick when the nick change is forced
* | Get rid of strlcpy(), strlcat(), charlcat() and charremove()Gravatar attilamolnar2013-05-161-6/+5
| |
* | Allow spaces (and more) in oper typesGravatar attilamolnar2013-05-161-4/+4
| | | | | | | | | | The spaces are converted to '_' characters in OPERTYPE for 2.0 servers Issue #533 suggested by @ankitkv
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-30/+17
| | | | | | | | | | | | * 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
* | Add method for writing server notices.Gravatar Peter Powell2013-05-141-2/+7
| | | | | | | | | | | | | | | | | | 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.
* | Merge insp20Gravatar attilamolnar2013-04-281-0/+9
|\|
| * Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵Gravatar attilamolnar2013-04-211-0/+8
| | | | | | | | errors in m_callerid
| * Immediately stop processing whenever we detect and handle a RecvQ overrunGravatar attilamolnar2013-04-191-0/+1
| | | | | | | | Thanks to @SimosNap for the report and cooperation
* | Move <performance:nouserdns> to <connect:nouserdns>.Gravatar Peter Powell2013-04-271-2/+4
| |
* | Modularize DNSGravatar Adam2013-04-261-21/+1
| | | | | | | | | | | | The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
* | Extract UID/SID generation logic into a new class: UIDGeneratorGravatar attilamolnar2013-04-141-1/+1
| |
* | Remove the deprecated invite APIGravatar attilamolnar2013-04-131-25/+7
| |
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-14/+14
| |
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-1/+1
| |
* | Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()Gravatar attilamolnar2013-04-101-6/+6
| |
* | Move most whois related code from the core into cmd_whoisGravatar attilamolnar2013-04-091-55/+0
| |
* | Make cmd_whowas act like a module, remove special handlingGravatar attilamolnar2013-04-041-13/+0
| |
* | Move member variables from User to LocalUserGravatar attilamolnar2013-04-011-4/+5
| | | | | | | | | | | | | | | | - idle_lastmsg - dns_done - quitting_sendq - exempt - lastping
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-011-10/+9
| |
* | Send LUSERS before MOTDGravatar attilamolnar2013-04-011-2/+2
| | | | | | | | Issue #399
* | Remove legacy code, mostly related to 1.2 compatibilityGravatar attilamolnar2013-04-011-2/+0
|/
* Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedGravatar attilamolnar2013-03-111-5/+8
|
* Remove ServerLimits::Finalise(), it's completely wrongGravatar attilamolnar2012-12-091-1/+1
| | | | Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
* Make LocalUserList an std::listGravatar attilamolnar2012-11-291-5/+6
|
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-291-2/+2
|
* Reorder local user initialization stepsGravatar attilamolnar2012-11-291-18/+4
| | | | | | 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
* Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()Gravatar attilamolnar2012-11-191-2/+2
|
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-6/+6
|
* Fix unregistered users getting global notices, also fix certain commands ↵Gravatar attilamolnar2012-10-121-1/+2
| | | | working on unregistered users, spotted by @Adam-
* Fix (d)host starting with ':' for some IPv6 clientsGravatar attilamolnar2012-10-031-1/+7
|
* Fix more undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-301-1/+5
| | | | | | std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
* Fix undefined behavior caused by referencing the returned buffer by ↵Gravatar attilamolnar2012-09-231-2/+4
| | | | | | | std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
* Call OnUserSetIP() whenever the IP of a local user changes, set ↵Gravatar attilamolnar2012-09-131-2/+40
| | | | ident,host,dhost in LocalUser constructor
* Add a config option to enable/disable the welcome notice sent to clients ↵Gravatar attilamolnar2012-08-251-1/+2
| | | | | | after successful registration Fixes #284 reported by @hoggeh
* Don't hard code the branch version.Gravatar Peter Powell2012-07-271-2/+2
|
* Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."Gravatar Robin Burchell2012-07-011-13/+1
| | | | This reverts commit f0474272303ac9297f637ce956315518138bafff.
* Revert "users: LocalUser constructor should call SetClientIP() on itself"Gravatar Robin Burchell2012-07-011-2/+1
| | | | This reverts commit dca6a7821efbfd1e6c2987dfa1d2b9f72d1db1be.