summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-09Port from hottpd: Split src/socket.cpp out into src/cidr.cppw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9678 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix segfault on rehash and tweak the connect code.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix some indenting.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Add defaults for SQLHost since comparing depends on them being initialised. ↵peavey
Add also overload for operator!= for SQLhost. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-09Fix restart code, by getting run path and argv before calling Cleanup()peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9674 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Add call to protocol interface to get useful info on the server map. Return ↵brain
a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Make this nicer, rely on the last write event after the Write() that sends ↵brain
all the data, not on a timer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Remove the timeout stuff, it is not stable and not really required, we are ↵brain
not emulating apache here but making a bare minimum of compliance to pass along xml etc. Personally i only really care about compliance with irc RFCs :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9669 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08When searching by servername without wildcards, conceal +i users no matter ↵brain
what craq the spec was on git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9668 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Possible todow00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9666 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Clarify a comment that confused mew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9665 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Rename to m_connectbanw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Prepare to rename this, change it's purpose from quitban to connect ban (was ↵w00t
I smoking crack?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9663 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-08Remove a level of nesting from thisw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9662 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-07Masterful rewrite of User::AddBuffer to remove a string copy (and make more ↵w00t
efficient) thanks to some nifty string manipulations. This should provide benefit on highly loaded nodes. This has *not* been thoroughly tested considering it's criticality, but I have spent the past ~4 hours writing and testing it, and it seems ok. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9661 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-07Add support for /nick 0: changes nick to UID, which can come in useful for ↵w00t
circumstances when trying to connect while your nick is in use. Also supported by various others (ircd etc?). This also moves validation checking up a bit, avoiding two calls to IsNick in an obscure circumstance (hooray). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9660 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-07Make u_listmode more sensible and make it properly use WriteNumeric, and a ↵brain
few other misc fixes found during today git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Fix broken m_alias, cant preallocate and then push_back, because then its ↵brain
maxparams + size :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9658 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Fix bad throws and some other stuff in this modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9657 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Removed the verbosity in 'make clean' to fix issues with OpenBSD and ↵special
possibly others git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9655 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-06Fix typo +c => +C reported by alamarpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9653 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Remove JOIN sending, all should be FJOINbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Snotice on failed oper.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9650 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Okay, this was good in theory, but totally and utterly fucked in ↵w00t
implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anywayw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Un-break this so remote users still get RemoteMessage okay if targetted at a ↵w00t
specific user, remove comment also as it's using PI now anyway git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Alter remotemessage here to not do what w00ts patch did, twicebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Don't re-propegate CHGHOST unnecessarilyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Add sanity checks to LoopCall to prevent miscalls like this by broken 3rd ↵brain
party modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9643 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05fix LoopCalls to not send param count thus avoiding a crash in command parserpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9642 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Calling wrong loopcall overloaded method, due to hasty search and replace ↵brain
earlier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9641 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Fix warningbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05and no need to cast parameters to std::string herepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9639 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05parameters are already std::string no need to cast herepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9638 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05fix some unitialised vectors and tidy up a bit.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Conversion complete, distclean compiles cleanly again. (If everything works ↵peavey
is another story) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9636 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert a few missingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convertionspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9634 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05oops, fix this one.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9633 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert a fewpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9632 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert a fewpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9631 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert even morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9629 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Conversionsaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9628 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Remove extra documented moduledir (reported by smartys). And move ↵peavey
quietbursts documentaion from <option> section to <performance> section. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9627 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert m_spanningtreeaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05and now aquanight, you can compile from m_m*peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9625 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05Convert convert convertpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9624 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04converting m_d* donepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9623 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Done up to and including m_c.. sighpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9622 e03df62e-2008-0410-955e-edbf42e46eb7