summaryrefslogtreecommitdiff
path: root/src/users.cpp
AgeCommit message (Collapse)Author
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
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