aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Check for " to " tooGravatar brain2008-05-101-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9697 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a 'sanitize' function to sanitize special characters in the output, <, > ↵Gravatar brain2008-05-101-7/+38
| | | | | | and & etc git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9696 e03df62e-2008-0410-955e-edbf42e46eb7
* Add ident, port, ip to user info in <user> tagGravatar brain2008-05-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695 e03df62e-2008-0410-955e-edbf42e46eb7
* Give tons more information in the xml feed, should be enough to construct ↵Gravatar brain2008-05-101-107/+35
| | | | | | just about any stat i can think of right now. let me know if you need more info in the feed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9694 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for last nights blockcaps tweak to make it a little more accurateGravatar brain2008-05-101-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9692 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix LoadConf always reading 1 extra byte of random garbage.Gravatar peavey2008-05-101-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9691 e03df62e-2008-0410-955e-edbf42e46eb7
* If nobody else is going to submit a diff, may as well do it myself. Using ↵Gravatar brain2008-05-091-0/+8
| | | | | | your noggin avoids two loops git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9690 e03df62e-2008-0410-955e-edbf42e46eb7
* Add *.diff and *.patch to ignoresGravatar peavey2008-05-090-0/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9688 e03df62e-2008-0410-955e-edbf42e46eb7
* Same fixes to make this module scale much better. Dont connect on each ↵Gravatar peavey2008-05-091-27/+54
| | | | | | query, keep open and send a byte like MySQL module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9687 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to make this module scale much better. Dont connect on each query, ↵Gravatar peavey2008-05-091-25/+54
| | | | | | keep open and send a byte like MySQL module. Now with cleanup of bufferedsocket thanks to w00t <3 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9686 e03df62e-2008-0410-955e-edbf42e46eb7
* nuke some debug (snatch)Gravatar peavey2008-05-091-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9685 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't stringjoin here, we don't for any other commands (cban, *line) so I'd ↵Gravatar w00t2008-05-091-4/+2
| | | | | | like to stay consistant. This also won't confuse any third party apps. This is my fault, I hated colons when I first started working on insp. ;p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9684 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't route after nuking the user from orbit, there's no point (minor)Gravatar w00t2008-05-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9683 e03df62e-2008-0410-955e-edbf42e46eb7
* Add test suites for edge cases and in the process, spot a crash in the new ↵Gravatar brain2008-05-092-0/+13
| | | | | | code and fix it (empty mask in the match() functions makes it bomb) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9682 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert CIDR matching and wildcard matching to operate on std::stringsGravatar brain2008-05-097-111/+113
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9681 e03df62e-2008-0410-955e-edbf42e46eb7
* FixGravatar w00t2008-05-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9680 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash if OnCheckBan is called and there is no list, the if was reversed.Gravatar peavey2008-05-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9679 e03df62e-2008-0410-955e-edbf42e46eb7
* Port from hottpd: Split src/socket.cpp out into src/cidr.cppGravatar w00t2008-05-092-186/+204
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9678 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix segfault on rehash and tweak the connect code.Gravatar peavey2008-05-091-18/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some indenting.Gravatar peavey2008-05-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676 e03df62e-2008-0410-955e-edbf42e46eb7
* Add defaults for SQLHost since comparing depends on them being initialised. ↵Gravatar peavey2008-05-091-1/+8
| | | | | | Add also overload for operator!= for SQLhost. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix restart code, by getting run path and argv before calling Cleanup()Gravatar peavey2008-05-091-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9674 e03df62e-2008-0410-955e-edbf42e46eb7
* Add call to protocol interface to get useful info on the server map. Return ↵Gravatar brain2008-05-084-18/+42
| | | | | | 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
* Make this nicer, rely on the last write event after the Write() that sends ↵Gravatar brain2008-05-082-8/+15
| | | | | | all the data, not on a timer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove the timeout stuff, it is not stable and not really required, we are ↵Gravatar brain2008-05-081-89/+7
| | | | | | | | | 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
* When searching by servername without wildcards, conceal +i users no matter ↵Gravatar brain2008-05-081-1/+4
| | | | | | what craq the spec was on git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9668 e03df62e-2008-0410-955e-edbf42e46eb7
* Possible todoGravatar w00t2008-05-081-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9666 e03df62e-2008-0410-955e-edbf42e46eb7
* Clarify a comment that confused meGravatar w00t2008-05-081-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9665 e03df62e-2008-0410-955e-edbf42e46eb7
* Rename to m_connectbanGravatar w00t2008-05-082-13/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664 e03df62e-2008-0410-955e-edbf42e46eb7
* Prepare to rename this, change it's purpose from quitban to connect ban (was ↵Gravatar w00t2008-05-081-16/+16
| | | | | | I smoking crack?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9663 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove a level of nesting from thisGravatar w00t2008-05-081-10/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9662 e03df62e-2008-0410-955e-edbf42e46eb7
* Masterful rewrite of User::AddBuffer to remove a string copy (and make more ↵Gravatar w00t2008-05-072-22/+54
| | | | | | 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
* Add support for /nick 0: changes nick to UID, which can come in useful for ↵Gravatar w00t2008-05-071-9/+23
| | | | | | 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
* Make u_listmode more sensible and make it properly use WriteNumeric, and a ↵Gravatar brain2008-05-075-90/+62
| | | | | | few other misc fixes found during today git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken m_alias, cant preallocate and then push_back, because then its ↵Gravatar brain2008-05-061-2/+2
| | | | | | maxparams + size :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9658 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bad throws and some other stuff in this moduleGravatar brain2008-05-061-4/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9657 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed the verbosity in 'make clean' to fix issues with OpenBSD and ↵Gravatar special2008-05-061-1/+1
| | | | | | possibly others git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9655 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix typo +c => +C reported by alamarGravatar peavey2008-05-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9653 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove JOIN sending, all should be FJOINGravatar brain2008-05-051-19/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651 e03df62e-2008-0410-955e-edbf42e46eb7
* Snotice on failed oper.Gravatar w00t2008-05-051-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9650 e03df62e-2008-0410-955e-edbf42e46eb7
* Okay, this was good in theory, but totally and utterly fucked in ↵Gravatar w00t2008-05-053-71/+14
| | | | | | 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
* Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anywayGravatar w00t2008-05-051-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648 e03df62e-2008-0410-955e-edbf42e46eb7
* Un-break this so remote users still get RemoteMessage okay if targetted at a ↵Gravatar w00t2008-05-051-2/+2
| | | | | | 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
* Alter remotemessage here to not do what w00ts patch did, twiceGravatar brain2008-05-051-11/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645 e03df62e-2008-0410-955e-edbf42e46eb7
* Don't re-propegate CHGHOST unnecessarilyGravatar w00t2008-05-051-3/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644 e03df62e-2008-0410-955e-edbf42e46eb7
* Add sanity checks to LoopCall to prevent miscalls like this by broken 3rd ↵Gravatar brain2008-05-051-0/+6
| | | | | | party modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9643 e03df62e-2008-0410-955e-edbf42e46eb7
* fix LoopCalls to not send param count thus avoiding a crash in command parserGravatar peavey2008-05-053-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9642 e03df62e-2008-0410-955e-edbf42e46eb7
* Calling wrong loopcall overloaded method, due to hasty search and replace ↵Gravatar brain2008-05-052-2/+2
| | | | | | earlier git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9641 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix warningGravatar brain2008-05-051-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640 e03df62e-2008-0410-955e-edbf42e46eb7
* and no need to cast parameters to std::string hereGravatar peavey2008-05-052-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9639 e03df62e-2008-0410-955e-edbf42e46eb7