summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
2013-05-16Workaround for std::list::size() having linear complexity on some ↵attilamolnar
implementations
2013-04-21Log some internal errors on DEFAULT loglevel instead of DEBUG, log detected ↵attilamolnar
errors in m_callerid
2013-04-19Immediately stop processing whenever we detect and handle a RecvQ overrunattilamolnar
Thanks to @SimosNap for the report and cooperation
2013-03-11Fix m_dnsbl not checking cgiirc users when the cgiirc address is elinedattilamolnar
2012-12-09Remove ServerLimits::Finalise(), it's completely wrongattilamolnar
Truncate <limits:identmax>+1 long idents in User::ChangeIdent()
2012-11-29Make LocalUserList an std::listattilamolnar
2012-11-29Add a typedef for LocalUserListattilamolnar
2012-11-29Reorder local user initialization stepsattilamolnar
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
2012-11-19Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()attilamolnar
2012-10-21Make better use of User::GetFullRealHost()attilamolnar
2012-10-12Fix unregistered users getting global notices, also fix certain commands ↵attilamolnar
working on unregistered users, spotted by @Adam-
2012-10-03Fix (d)host starting with ':' for some IPv6 clientsattilamolnar
2012-09-30Fix more undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary See 83c7cc45daf6fb1f8c36f15297a4657e45a34e88
2012-09-23Fix undefined behavior caused by referencing the returned buffer by ↵attilamolnar
std::string::c_str() when the object is temporary Thanks to @ChrisTX for pointing this out Fixes #257 reported by @helloall
2012-09-13Call OnUserSetIP() whenever the IP of a local user changes, set ↵attilamolnar
ident,host,dhost in LocalUser constructor
2012-08-25Add a config option to enable/disable the welcome notice sent to clients ↵attilamolnar
after successful registration Fixes #284 reported by @hoggeh
2012-07-27Don't hard code the branch version.Peter Powell
2012-07-01Revert "users: add SetClientIP function for irc::sockets::sockaddrs type."Robin Burchell
This reverts commit f0474272303ac9297f637ce956315518138bafff.
2012-07-01Revert "users: LocalUser constructor should call SetClientIP() on itself"Robin Burchell
This reverts commit dca6a7821efbfd1e6c2987dfa1d2b9f72d1db1be.
2012-07-01Revert "users: introduce OnSetClientIP hook."Robin Burchell
This reverts commit 5fd31ec5a6ba6021763b36d8d17d4665900623ab.
2012-06-17Fix pending invites not being removed when a channel was deleted or had its ↵attilamolnar
TS lowered
2012-06-12Be consistent with Robby's qQ snomask changesSir Poggles
2012-06-12users: introduce OnSetClientIP hook.William Pitcock
This hook is called whenever a client's IP is modified.
2012-06-12users: LocalUser constructor should call SetClientIP() on itselfWilliam Pitcock
This way we fire a future hook based on local IP information changing.
2012-06-12users: add SetClientIP function for irc::sockets::sockaddrs type.William Pitcock
Code which touches client_sa should instead use this SetClientIP function so that hooks may be called in the future.
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2012-04-19Avoid sending empty channel list numeric on whois if the target is not in ↵attilamolnar
any channels.
2012-04-15Merge pull request #28 from DjSlash/classinconnectmsgRobin Burchell
Show class in connectmsg
2012-04-01Show class in connectmsgRutger
Made the connect announcement show the class a client is in, making it easy to spot if a client is in the right class.
2012-04-01Add <connect:maxconnwarn>Rutger
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.
2011-07-17<connect deny=""> (or allow="") should not match all usersDaniel De Graaf
2011-05-23Fix recursion of QuitUser in SendQ quitsJackmcbarn
2010-09-05Fix the pseudo-penalty hack that doesn't work properlyDaniel De Graaf
2010-08-03Skip invalid allowed modes in oper block (bug #64)Daniel De Graaf
2010-05-12Add some missing <connect> updates from rehash, noticed by mixx941Daniel De Graaf
2010-03-31Prevent pre-registration connect blocks from being used post-registrationDaniel De Graaf
2010-03-31Fix <connect:password> incorrectly reading <connect:pass>Daniel De Graaf
2010-03-23Fix CommandFloodPenalty overflow on connectdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12659 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-23Calling OnError from Resolver's constructor is broken; just use the exceptiondanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12657 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-19Add RAWIO log level which is more verbose than DEBUGdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-18Only check password during second connect block check; add registered="yes" ↵danieldg
to get the previous behavior git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12644 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-14Add <options:cyclehostsfromuser> to configure source for mode changes on ↵danieldg
host cycle git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12636 e03df62e-2008-0410-955e-edbf42e46eb7
2010-03-06Somehow this return got removed, should fix "Access denied by configuration" ↵danieldg
crash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12607 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-25Make remote/local snomasks consistent and allow use without namingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12568 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-15Allow a reason to be specified for <connect:deny>danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12468 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-15Allow forced nick change to bypass Q:Linesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12460 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-12Remove possible references to deleted User objects due to DNS lookupsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09Move password checking into connect class searchdanieldg
This makes it possible to have a passworded connect class that is open to any host without denying users that do not use the password. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12411 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-09Clean up documentation of connect blocks a bitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12410 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-05Fix NICKLOCK/SANICK errors with Q:lined nicksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12378 e03df62e-2008-0410-955e-edbf42e46eb7