summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2008-05-04Convert a few morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9621 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convert a whole bunch morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convertingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9619 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convert this one toopeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9618 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04oops strgecos is already a std::stringpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9617 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convert a few more modules to new API and command handler.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9616 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Ok 3rd time lucky, thanks for the pointers Brainpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9615 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04fix thispeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9614 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04First attempt at converting to new command handler, please review diff Brain.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9613 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04*param.c_str() -> param[0]brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04< MAXPARAMETERS for the size() check here can now be <= insteadbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9611 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Update comments for new apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9610 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Fix unused HandleServer to use new system too, and update comments to match apibrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9609 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Conversion of command handler params from "const char* const* parameters, ↵brain
int pcnt" to "const std::vector<std::string>& parameters". All of core is converted, but cant test it till the modules are converted. IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess of .c_str() calls to using std::string params directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7