aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* Revert "users: introduce OnSetClientIP hook."Gravatar Robin Burchell2012-07-011-2/+0
| | | | This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
* Fix pending invites not being removed when a channel was deleted or had its ↵Gravatar attilamolnar2012-06-171-55/+24
| | | | TS lowered
* Be consistent with Robby's qQ snomask changesGravatar Sir Poggles2012-06-121-1/+1
|
* users: introduce OnSetClientIP hook.Gravatar William Pitcock2012-06-121-0/+2
| | | | This hook is called whenever a client's IP is modified.
* users: LocalUser constructor should call SetClientIP() on itselfGravatar William Pitcock2012-06-121-1/+2
| | | | This way we fire a future hook based on local IP information changing.
* users: add SetClientIP function for irc::sockets::sockaddrs type.Gravatar William Pitcock2012-06-121-1/+13
| | | | | Code which touches client_sa should instead use this SetClientIP function so that hooks may be called in the future.
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+20
|
* Avoid sending empty channel list numeric on whois if the target is not in ↵Gravatar attilamolnar2012-04-191-1/+1
| | | | any channels.
* Merge pull request #28 from DjSlash/classinconnectmsgGravatar Robin Burchell2012-04-151-2/+2
|\ | | | | Show class in connectmsg
| * Show class in connectmsgGravatar Rutger2012-04-011-2/+2
| | | | | | | | | | Made the connect announcement show the class a client is in, making it easy to spot if a client is in the right class.
* | Add <connect:maxconnwarn>Gravatar Rutger2012-04-011-4/+7
|/ | | | | | | Created the maxconnwarn variable in the connect block, so you can make connect blocks that only warns about max connections if you want to. This reduces noise from connecting clients that have low maxlocal and/or maxglobal. It is enabled by default.
* <connect deny=""> (or allow="") should not match all usersGravatar Daniel De Graaf2011-07-171-1/+1
|
* Fix recursion of QuitUser in SendQ quitsGravatar Jackmcbarn2011-05-231-7/+5
|
* Fix the pseudo-penalty hack that doesn't work properlyGravatar Daniel De Graaf2010-09-051-3/+0
|