aboutsummaryrefslogtreecommitdiff
path: root/src/users.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove possible references to deleted User objects due to DNS lookupsGravatar danieldg2010-02-121-51/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12445 e03df62e-2008-0410-955e-edbf42e46eb7
* Move password checking into connect class searchGravatar danieldg2010-02-091-16/+14
| | | | | | | 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
* Clean up documentation of connect blocks a bitGravatar danieldg2010-02-091-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12410 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix NICKLOCK/SANICK errors with Q:lined nicksGravatar danieldg2010-02-051-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12378 e03df62e-2008-0410-955e-edbf42e46eb7
* Add OnSetConnectClass hook for use in adding requirements to connect classes ↵Gravatar danieldg2010-02-021-24/+20
| | | | | | (such as requiressl) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12352 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't run OnUserPostNick hook for initial NICK commandGravatar danieldg2010-02-011-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12341 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow connect classes to be specified without an allow or deny maskGravatar danieldg2010-01-311-5/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12336 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove UpdateNickHash due to incorrect behaviorGravatar danieldg2010-01-301-25/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12331 e03df62e-2008-0410-955e-edbf42e46eb7
* Move nick change code out of cmd_nick; fixes double-invocation of hooks and ↵Gravatar danieldg2010-01-301-15/+84
| | | | | | may eliminate bug #911 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12330 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a few needless string crops, compile fixGravatar danieldg2010-01-301-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12329 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove FakeUser from clientlist/uuidlist, as it bypasses QuitUserGravatar danieldg2010-01-301-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12328 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove users from uuidlist on QuitUser, not during cull (allows UID reuse on ↵Gravatar danieldg2010-01-301-1/+0
| | | | | | fast netsplits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12326 e03df62e-2008-0410-955e-edbf42e46eb7
* ERROR is not a valid log level, so all these messages were getting droppedGravatar danieldg2010-01-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12304 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix MOTD and RULES to work remotely (remove the old hacks for MOTD)Gravatar danieldg2010-01-191-37/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12301 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-19/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12246 e03df62e-2008-0410-955e-edbf42e46eb7
* GCC 4.5 warning fixupsGravatar danieldg2010-01-041-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12241 e03df62e-2008-0410-955e-edbf42e46eb7
* Add fine-grained command flood controlsGravatar danieldg2009-11-111-16/+18
| | | | | | | 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
* Move StreamSocket inheritance off of UserGravatar danieldg2009-11-061-32/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12047 e03df62e-2008-0410-955e-edbf42e46eb7
* Match USERINPUT/USEROUTPUT identifiersGravatar danieldg2009-11-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12004 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix global clone count not being decremented on remote user quitGravatar danieldg2009-11-011-3/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11984 e03df62e-2008-0410-955e-edbf42e46eb7