aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix harmless loop off-by-ones found by MoonlightningGravatar satmd2014-06-071-2/+2
|
* Fix some logically dead code which was found by Coverity.Gravatar Peter Powell2014-01-211-13/+3
|
* Improve support for rarely used compilers, EKOPath in this case.Gravatar ChrisTX2013-08-311-1/+1
|
* Fix generated snomask mode change string being incosistent with the input in ↵Gravatar attilamolnar2013-07-201-1/+1
| | | | certain cases, spotted by @Robby-
* Workaround for std::list::size() having linear complexity on some ↵Gravatar attilamolnar2013-05-161-0/+3
| | | | implementations
* 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
* 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
|
* Skip invalid allowed modes in oper block (bug #64)Gravatar Daniel De Graaf2010-08-031-2/+2
|
* Add some missing <connect> updates from rehash, noticed by mixx941Gravatar Daniel De Graaf2010-05-121-0/+5
|
* Prevent pre-registration connect blocks from being used post-registrationGravatar Daniel De Graaf2010-03-311-0/+1
|
* Fix <connect:password> incorrectly reading <connect:pass>Gravatar Daniel De Graaf2010-03-311-2/+2
|
* Fix CommandFloodPenalty overflow on connectGravatar danieldg2010-03-231-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12659 e03df62e-2008-0410-955e-edbf42e46eb7
* Calling OnError from Resolver's constructor is broken; just use the exceptionGravatar danieldg2010-03-231-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12657 e03df62e-2008-0410-955e-edbf42e46eb7
* Add RAWIO log level which is more verbose than DEBUGGravatar danieldg2010-03-191-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
* Only check password during second connect block check; add registered="yes" ↵Gravatar danieldg2010-03-181-1/+1
| | | | | | to get the previous behavior git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12644 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <options:cyclehostsfromuser> to configure source for mode changes on ↵Gravatar danieldg2010-03-141-1/+3
| | | | | | host cycle git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12636 e03df62e-2008-0410-955e-edbf42e46eb7
* Somehow this return got removed, should fix "Access denied by configuration" ↵Gravatar danieldg2010-03-061-0/+1
| | | | | | crash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12607 e03df62e-2008-0410-955e-edbf42e46eb7
* Make remote/local snomasks consistent and allow use without namingGravatar danieldg2010-02-251-4/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12568 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow a reason to be specified for <connect:deny>Gravatar danieldg2010-02-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12468 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow forced nick change to bypass Q:LinesGravatar danieldg2010-02-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12460 e03df62e-2008-0410-955e-edbf42e46eb7