aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename <connect:nouserdns> to <connect:resolvehostnames>.Gravatar Peter Powell2013-08-101-3/+3
| | | | | This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
* Remove virtual User::GetClass() (but keep LocalUser::GetClass())Gravatar attilamolnar2013-08-091-15/+0
|
* Accept std::string as parameter in User::ChangeHost(), ChangeIdent() and ↵Gravatar attilamolnar2013-08-091-3/+3
| | | | | | ChangeName() Pass the string itself to IsIdent() instead of string.c_str()
* Move host cycle logic into m_hostcycleGravatar attilamolnar2013-08-091-77/+0
|
* Call ModeParser::Process() directly instead of going through the CommandParserGravatar attilamolnar2013-08-041-1/+1
| | | | Simplify the way how m_conn_umodes assembles the modes it sets
* FakeUsers are only inserted into UserManager::uuidlist; don't try to erase() ↵Gravatar attilamolnar2013-08-041-1/+1
| | | | them from clientlist
* Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-12/+12
|
* Get rid of enum UserModes and mark User::modes as privateGravatar attilamolnar2013-07-191-3/+5
|
* 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-