summaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
* Fix crashes, and in the process make xline even faster!Gravatar brain2006-09-191-16/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5304 e03df62e-2008-0410-955e-edbf42e46eb7
* Automatically make http request type and http version string uppercase, add ↵Gravatar brain2006-09-171-4/+14
| | | | | | comments, remove some unused headers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5276 e03df62e-2008-0410-955e-edbf42e46eb7
* Testing and debugging done, it all works :)Gravatar brain2006-09-171-2/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5274 e03df62e-2008-0410-955e-edbf42e46eb7
* Now supports multiple commands seperated with \n. NOTE: These \n's are ↵Gravatar brain2006-09-171-40/+61
| | | | | | translated by the config parser to REAL linefeeds! If you want the literal \n, put \\n. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5273 e03df62e-2008-0410-955e-edbf42e46eb7
* Add operonly aliases, <alias:operonly> (boolean).Gravatar brain2006-09-171-1/+6
| | | | | | | Any operonly aliases that are executed by non-oper appear to not exist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5270 e03df62e-2008-0410-955e-edbf42e46eb7
* Now it all works :)Gravatar brain2006-09-171-4/+40
| | | | | | | | | | | This is pretty smart stuff... Set up an alias like this: <alias text="NICKSERV" replace="PRIVMSG NickServ :IDENTIFY $3" ...> This will replace the $3 in the replace string with the 3rd word typed on the line by the user. Use $1 through $9 for items $1 to $9, and $1- to $9- to mean first word onwards, through 9th word onwards. Also there are special variables, such as $nick, $ident, $host, $vhost which can be used in the alias replace string. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5269 e03df62e-2008-0410-955e-edbf42e46eb7
* New m_alias, this probably doesnt work yetGravatar brain2006-09-171-15/+53
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5268 e03df62e-2008-0410-955e-edbf42e46eb7
* First of many m_alias tidyups, this will eventually become a rewrite of the ↵Gravatar brain2006-09-171-16/+8
| | | | | | majority of this module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5267 e03df62e-2008-0410-955e-edbf42e46eb7
* Add const std::string &original_command to OnPreCommand and OnPostCommand, ↵Gravatar brain2006-09-1713-15/+16
| | | | | | which gives the entire untouched command string and params in all its colon-ny glory git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7
* Proper checking in /SAPART that the user really did leave, for the ↵Gravatar brain2006-09-151-1/+20
| | | | | | CMD_FAILURE and CMD_SUCCESS return values (see SAJOIN) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5264 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix crash on two objects trying to free each other at the same timeGravatar brain2006-09-151-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5263 e03df62e-2008-0410-955e-edbf42e46eb7
* CommentsGravatar brain2006-09-151-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5262 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix memory leak tooGravatar brain2006-09-151-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5261 e03df62e-2008-0410-955e-edbf42e46eb7
* Add timeouts to the http module. Two seperate timeouts, 60 seconds to ↵Gravatar brain2006-09-151-0/+40
| | | | | | receive headers, and 60 seconds after receipt of headers and sending of page, in which to time out the connection if the client doesnt close() as it should git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5260 e03df62e-2008-0410-955e-edbf42e46eb7
* Improve notices, so that if SAJOIN fails it can tell the oper who issued itGravatar brain2006-09-151-1/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5259 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug noticed by dotslasher (?) where SAJOIN can desyncGravatar brain2006-09-151-0/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5258 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-1511-11/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5255 e03df62e-2008-0410-955e-edbf42e46eb7
* AnnotationsGravatar brain2006-09-1521-26/+70
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
* Comment tidyup and change format so doxygen can detect themGravatar brain2006-09-151-39/+35
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5252 e03df62e-2008-0410-955e-edbf42e46eb7
* Comments describing classes, for the url ↵Gravatar brain2006-09-158-4/+60
| | | | | | http://svn.inspircd.org/docs/annotated.html git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5251 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some stuff, avoid use of global ServerInstance varGravatar brain2006-09-151-63/+61
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5250 e03df62e-2008-0410-955e-edbf42e46eb7
* Commit all the httpd patches i sneakily put in before 9am at the office :pGravatar brain2006-09-141-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5249 e03df62e-2008-0410-955e-edbf42e46eb7
* Use gmtime() not localtime() as RFC2616 says dates sent by a http server ↵Gravatar brain2006-09-141-1/+1
| | | | | | must be GMT/UTC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember to change state when sending error 400Gravatar brain2006-09-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7
* Send error 400 when content-size is 0 or omitted for POSTGravatar brain2006-09-141-8/+13
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5246 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix postdata stuffGravatar brain2006-09-141-55/+40
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5245 e03df62e-2008-0410-955e-edbf42e46eb7
* Only initialise request type onceGravatar brain2006-09-141-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5244 e03df62e-2008-0410-955e-edbf42e46eb7
* Properly read POSTDATAGravatar brain2006-09-141-1/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5243 e03df62e-2008-0410-955e-edbf42e46eb7
* Todo: find out content-length, then read that much dataGravatar brain2006-09-131-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5241 e03df62e-2008-0410-955e-edbf42e46eb7
* Beginnings of postdata stuffGravatar brain2006-09-133-28/+44
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5240 e03df62e-2008-0410-955e-edbf42e46eb7
* Document thisGravatar brain2006-09-131-2/+57
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5238 e03df62e-2008-0410-955e-edbf42e46eb7
* Did i ever mention that pipp was pedantic? ;)Gravatar brain2006-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5237 e03df62e-2008-0410-955e-edbf42e46eb7
* Add m_conn_umodes.so which allows setting of modes on users when they connectGravatar brain2006-09-132-16/+138
| | | | | | | | | Remove automatic +x from m_cloaking now that conn_umodes can do this Document in example conf. Syntax is <connect:modes> and a mode string in any valid connect:allow tag git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5236 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a comment for readabilityGravatar brain2006-09-131-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5231 e03df62e-2008-0410-955e-edbf42e46eb7
* Try this, jamieGravatar brain2006-09-131-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5229 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix minor memory leak when setting new param that replaces oldGravatar brain2006-09-131-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5228 e03df62e-2008-0410-955e-edbf42e46eb7
* Add debug to m_spanningtree, verifies that inspircd works correctly on FMODE ↵Gravatar brain2006-09-131-1/+2
| | | | | | (after patches are applied) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5227 e03df62e-2008-0410-955e-edbf42e46eb7
* FixGravatar brain2006-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5226 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix m_messageflood along same lines as m_joinflood (jamie forgot a patch, i ↵Gravatar brain2006-09-131-0/+13
| | | | | | figured this one out for myself) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5225 e03df62e-2008-0410-955e-edbf42e46eb7
* And fix againGravatar brain2006-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5224 e03df62e-2008-0410-955e-edbf42e46eb7
* Merge jamies many patchesGravatar brain2006-09-133-6/+64
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5223 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix timedbans bug reported by jamieGravatar brain2006-09-111-3/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5217 e03df62e-2008-0410-955e-edbf42e46eb7
* This should fix the timeout issues pippjin was experiencingGravatar brain2006-09-101-1/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5211 e03df62e-2008-0410-955e-edbf42e46eb7
* Nicer fixGravatar brain2006-09-101-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5195 e03df62e-2008-0410-955e-edbf42e46eb7
* Change a fux into a fix for pippjin (thanks for the bt)Gravatar brain2006-09-101-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5194 e03df62e-2008-0410-955e-edbf42e46eb7
* Much neater more compact override notices for modes:Gravatar brain2006-09-101-10/+37
| | | | | | | | | [13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +sSCT [13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +ohv Brain Brain Brain [Detail: 1 op ] [13:16] --- SNOTICE *** OVERRIDE: Brain Overriding modes: #test +vho Brain Brain Brain [Detail: 1 op 1 voice 1 halfop ] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5193 e03df62e-2008-0410-955e-edbf42e46eb7
* Ensure that these output the sane value thats actually set, not the possibly ↵Gravatar brain2006-09-094-6/+6
| | | | | | insane one you TRIED to set git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5186 e03df62e-2008-0410-955e-edbf42e46eb7
* Make SAMODE oper output tidierGravatar brain2006-09-091-11/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5184 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up override snoticesGravatar brain2006-09-091-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5181 e03df62e-2008-0410-955e-edbf42e46eb7
* More debug logging in this moduleGravatar brain2006-09-091-6/+27
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5179 e03df62e-2008-0410-955e-edbf42e46eb7