aboutsummaryrefslogtreecommitdiff
path: root/src/usermanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-071-0/+1
| |
* | Move code between usermanager.(cpp|h), clarify commentsGravatar attilamolnar2013-06-061-38/+14
| | | | | | | | Initialize clientlist and uuidlist in UserManager constructor
* | Move DoBackgroundUserStuff() and AllModulesReportReady() into UserManagerGravatar attilamolnar2013-06-061-0/+11
| |
* | Merge insp20Gravatar attilamolnar2013-06-061-1/+7
|\|
| * Initialize local_countGravatar attilamolnar2013-05-181-0/+5
| |
| * Workaround for std::list::size() having linear complexity on some ↵Gravatar attilamolnar2013-05-161-1/+2
| | | | | | | | implementations
* | Merge pull request #545 from SaberUK/master+logging-cleanupGravatar Attila Molnar2013-05-211-4/+4
|\ \ | | | | | | Clean up the logging system (part 1 of 2).
| * | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-4/+4
| | |
* | | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-7/+3
|/ /
* | Remove unused UserManager::ServerPrivmsgAll()Gravatar attilamolnar2013-05-181-24/+0
| |
* | Replace some C-isms with C++-isms.Gravatar Peter Powell2013-05-151-6/+4
| | | | | | | | | | | | * '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/+2
| | | | | | | | | | | | | | | | | | 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-4/+4
|\|
| * Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵Gravatar attilamolnar2013-04-211-3/+3
| | | | | | | | errors in m_callerid
| * Fix uuids getting truncated in the nick hash in UserManager::AddUser() if ↵Gravatar attilamolnar2013-04-191-1/+1
| | | | | | | | nickmax is < 9
* | Modularize DNSGravatar Adam2013-04-261-14/+0
| | | | | | | | | | | | The DNS modules are temporarily in commands/ so they're loaded automatically Thanks to Attila for helping with much of this.
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-10/+10
| |
* | Stop recreating hashmaps every hour, move garbage collection code related to ↵Gravatar attilamolnar2013-04-041-0/+11
| | | | | | | | local users to UserManager
* | Make cmd_whowas act like a module, remove special handlingGravatar attilamolnar2013-04-041-1/+0
| |
* | Change User::GetIPString() to return const std::string&Gravatar attilamolnar2013-04-011-4/+4
|/
* Stop user initialization when the user is marked as quitting after OnSetUserIPGravatar attilamolnar2013-03-111-0/+3
|
* Make LocalUserList an std::listGravatar attilamolnar2012-11-291-1/+1
|
* Add a typedef for LocalUserListGravatar attilamolnar2012-11-291-2/+2
|
* Reorder local user initialization stepsGravatar attilamolnar2012-11-291-0/+1
| | | | | | 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
* Simplify UserManager::AddLocalClone()/AddGlobalClone()Gravatar attilamolnar2012-11-241-13/+2
|
* Make better use of User::GetFullRealHost()Gravatar attilamolnar2012-10-211-4/+4
|
* Call OnUserSetIP() whenever the IP of a local user changes, set ↵Gravatar attilamolnar2012-09-131-6/+0
| | | | ident,host,dhost in LocalUser constructor
* Fix typo in log message.Gravatar Peter Powell2012-06-291-1/+1
|
* Snomask qQ: Swap quit message and IP for easier parsing by bots or scriptsGravatar Robby-2012-06-121-5/+5
|
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
|
* Add RAWIO log level which is more verbose than DEBUGGravatar danieldg2010-03-191-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix logged error when user is denied by connect classGravatar danieldg2010-03-061-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12609 e03df62e-2008-0410-955e-edbf42e46eb7
* Move DNSBL and ident lookups after <connect deny>/bancache/Z:line checksGravatar danieldg2010-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12588 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_ident deleting sockets that are still in useGravatar danieldg2010-03-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12586 e03df62e-2008-0410-955e-edbf42e46eb7
* DelFd should not fail, it will leave a bad dangling pointer in that caseGravatar danieldg2010-03-021-16/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12584 e03df62e-2008-0410-955e-edbf42e46eb7
* m_dnsbl updatesGravatar danieldg2010-02-141-9/+11
| | | | | | | Prevent user registration until dnsbl lookups are complete Allow DNSBLs to be checked using <connect:dnsbl> (MARK type) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12454 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove users from uuidlist on QuitUser, not during cull (allows UID reuse on ↵Gravatar danieldg2010-01-301-0/+2
| | | | | | fast netsplits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12326 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove mode counter, not reliable and only used for umode +iGravatar danieldg2010-01-091-6/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7
* Move StreamSocket inheritance off of UserGravatar danieldg2009-11-061-9/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
* Show IP of the user in the quit snomask [dKingston]Gravatar danieldg2009-11-061-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12042 e03df62e-2008-0410-955e-edbf42e46eb7
* Move MODENOTICE command to a command moduleGravatar danieldg2009-11-031-61/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11991 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix global clone count not being decremented on remote user quitGravatar danieldg2009-11-011-12/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11984 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes found by removing User inheritance from StreamSocketGravatar danieldg2009-10-251-8/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
* Create irc::sockets::cidr_maskGravatar danieldg2009-10-241-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7
* Make User::uuid and User::server constGravatar danieldg2009-10-231-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11962 e03df62e-2008-0410-955e-edbf42e46eb7
* Make irc::sockets::* parameters consistent, add irc::sockets::maskGravatar danieldg2009-10-221-60/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11953 e03df62e-2008-0410-955e-edbf42e46eb7
* Kill ListenSocketBase, use OnAcceptConnection for all new connectionsGravatar danieldg2009-10-211-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11950 e03df62e-2008-0410-955e-edbf42e46eb7
* Move all local-only fields to LocalUserGravatar danieldg2009-10-211-7/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11944 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module API to use LocalUser* where correctGravatar danieldg2009-10-211-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7