summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
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
2010-02-02Add OnSetConnectClass hook for use in adding requirements to connect classes ↵danieldg
(such as requiressl) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12352 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-01Don't run OnUserPostNick hook for initial NICK commanddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12341 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-31Allow connect classes to be specified without an allow or deny maskdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12336 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Remove UpdateNickHash due to incorrect behaviordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12331 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Move nick change code out of cmd_nick; fixes double-invocation of hooks and ↵danieldg
may eliminate bug #911 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12330 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Remove a few needless string crops, compile fixdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12329 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Remove FakeUser from clientlist/uuidlist, as it bypasses QuitUserdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12328 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-30Remove users from uuidlist on QuitUser, not during cull (allows UID reuse on ↵danieldg
fast netsplits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12326 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-19ERROR is not a valid log level, so all these messages were getting droppeddanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12304 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-19Fix MOTD and RULES to work remotely (remove the old hacks for MOTD)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12301 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-09Remove mode counter, not reliable and only used for umode +idanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-04GCC 4.5 warning fixupsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12241 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-11Add fine-grained command flood controlsdanieldg
This reintrouces "Excess Flood" quits for those that prefer it to fakelag, and allows the maximum command rate to be set in the connect block. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12093 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-06Move StreamSocket inheritance off of Userdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-03Match USERINPUT/USEROUTPUT identifiersdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12004 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-01Fix global clone count not being decremented on remote user quitdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11984 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-25Fixes found by removing User inheritance from StreamSocketdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11975 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-24Create irc::sockets::cidr_maskdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-24Get rid of ModePairdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11963 e03df62e-2008-0410-955e-edbf42e46eb7