summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2008-05-04Comment and improve check for access to ~/.inspircd/startup.logaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9606 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-03Make creation of ~/.inspircd properly check for EEXISTaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9605 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-03Allow KICKing multiple nicksaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9604 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-02Optimize MODE #chan b etc, avoid a 256 byte memset for duplicate mode checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9601 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01Convert to SimpleUserModeHandler and SimpleChannelModeHandlerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9599 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01Some modules throw CoreException, this is wrong wrongitty wrong! Throw ↵brain
ModuleException instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9598 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01#define NO_CLIENT_LONG_LONG, makes mysql.h ANSI C++ compliant so that we can ↵brain
get rid of $NoPedantic. Test compiles ok. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9597 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01Simple user/channel mode patchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9596 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-29remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9593 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-29Backport fix for stripcolour not stripping colour codes, reported by ↵brain
jackmcbarn - thanks. Also make rebasing neater, output to current console/output window of visual studio, not a new console git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9592 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27More stuff so that freebsd users can still use the ports version of openssl ↵brain
if they want git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9590 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27and make it work right...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9587 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27Add some stuff from the freebsd port based on ideas by Matthew Seaman which ↵brain
allow inspircd to use the base version of openssl on freebsd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9586 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-26I not ibricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9585 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-26a long road of uniformed messages ;)bricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9584 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23Remoteconnect and remotequit should be local-only snomasksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9583 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23Fix from yesterday, properly fix timedbans, much neaterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9581 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23Fixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9580 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23Warn, don't throw..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9579 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-22Break! ...no actually, take the break out :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9578 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Remove debug (This also fixes a bug that peavey and i found regarding the ↵brain
already_sent not being wiped properly on first use) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9576 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Fix bug found by peavey, which much frustrated him and w00t. He leiks ↵brain
mudkipz. Also fix bug #522 reported by Casey git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9575 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Fix quietbans and hidesplits etc, cull list's sending a seperate quit ↵brain
message to normal users was broken git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9574 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Remove OnRehash of m_chanprotect: bad idea, and it's broken anyway.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9572 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Merge in large patchset from GreenReaper, useful fixes for freeing a ton of ↵brain
different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Remove the craqy self-restarting loop in trunk, and use proper safe ↵brain
iterators to avoid it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9564 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21Patch to fix timedbans crash reported earlier today, thanks for the headsup ↵brain
wonderwal git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9563 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-20Fix RemoveCommands to remove all commands (this function had some really odd ↵brain
removal logic?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9554 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19fix text in validate methods where option was moved to either performance or ↵peavey
security. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9552 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19Bad test code herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9548 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19Eventlist one item too short, makes this module not publish its 005 featurebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9547 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-18Make the CAPAB sender in spanningtree more readableaquanight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9536 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-18Remove _CrtCheckMemory()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9535 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-18Add GreenReaper and Skip to contributorsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9534 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-18Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, ↵brain
lots of thanks! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Add todo notew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9531 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to ↵w00t
a SendSNONotice 'A' anyway, and only used by SAMODE, which duplicated it with a SendSNONotice 'A' also anyhow o.o - this means OPERNOTICE is now gone from protocol 1200, and SNONOTICE should be used instead. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9530 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Fix format fuckup I introduced (that warning shows one example of when it's ↵w00t
useful here) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9529 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove completed XXX: override is now only checked locally, snotices are ↵w00t
automatically broadcast globally, and all is well in the universe once more. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9528 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Add potential for local-only snotices and use them for the ones that should ↵w00t
be local. Individual messages cannot be made local-only, but I can't think of circumstances where this is necessary. Let's write it when it *is* necessary. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9527 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove use of SendSNONotice to send to remote servers, this is done ↵w00t
automagically now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9526 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17Remove debug from snomask flushing, and send ALL snotices globally ↵w00t
automagically (this probably means that calling SendSNONotice calls can be removed from places where they were added individually. XXX this needs fixing in two places: some snomasks are entirely local (local connect/quit) and some individual snotices may wish to be local only (though I can't think of any right now) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9525 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-17m_override now has a 'requirekey' option, that requires a special key of ↵w00t
'override' before permitting operoverride to prevent accidental abuse, fixes bug #516 reported by Jason. This isn't quite complete. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9524 e03df62e-2008-0410-955e-edbf42e46eb7