summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-09-17Add operonly aliases, <alias:operonly> (boolean).brain
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
2006-09-17Now it all works :)brain
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
2006-09-17New m_alias, this probably doesnt work yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5268 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17First of many m_alias tidyups, this will eventually become a rewrite of the ↵brain
majority of this module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5267 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17Turn irc::commasepstream into a base class, irc::sepstream, inherit two ↵brain
classes from it: irc::commasepstream and irc::spacesepstream, to be used for the most common token seperators "," and " " git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5266 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17Add const std::string &original_command to OnPreCommand and OnPostCommand, ↵brain
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
2006-09-15Proper checking in /SAPART that the user really did leave, for the ↵brain
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
2006-09-15Fix crash on two objects trying to free each other at the same timebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5263 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5262 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Fix memory leak toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5261 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Add timeouts to the http module. Two seperate timeouts, 60 seconds to ↵brain
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
2006-09-15Improve notices, so that if SAJOIN fails it can tell the oper who issued itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5259 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Fix for bug noticed by dotslasher (?) where SAJOIN can desyncbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5258 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5255 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Annotationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5254 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Comment tidyup and change format so doxygen can detect thembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5252 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Comments describing classes, for the url ↵brain
http://svn.inspircd.org/docs/annotated.html git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5251 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-15Fix some stuff, avoid use of global ServerInstance varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5250 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Commit all the httpd patches i sneakily put in before 9am at the office :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5249 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Use gmtime() not localtime() as RFC2616 says dates sent by a http server ↵brain
must be GMT/UTC git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5248 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Remember to change state when sending error 400brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5247 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Send error 400 when content-size is 0 or omitted for POSTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5246 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Fix postdata stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5245 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Only initialise request type oncebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5244 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-14Properly read POSTDATAbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5243 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Todo: find out content-length, then read that much databrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5241 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Beginnings of postdata stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Add jamie to code contributors in /infobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5239 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Document thisbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5238 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Did i ever mention that pipp was pedantic? ;)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5237 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Add m_conn_umodes.so which allows setting of modes on users when they connectbrain
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
2006-09-13Try this pipp and see if the bug manifests in a different placebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5233 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13If inspircd crashes in std::string destructor in ↵brain
CommandParser::ProcessCommand, take away all std::string's to make the bug manifest elsewhere, so maybe we can spot it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5232 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Add a comment for readabilitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5231 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Special check in cmd_quit and cmd_kill and special return value ↵brain
CMD_USER_DELETED, to prevent theoretical segfault (this isnt the bug youre trying to find, pip) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5230 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Try this, jamiebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5229 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Fix minor memory leak when setting new param that replaces oldbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5228 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Add debug to m_spanningtree, verifies that inspircd works correctly on FMODE ↵brain
(after patches are applied) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5227 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5226 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Fix m_messageflood along same lines as m_joinflood (jamie forgot a patch, i ↵brain
figured this one out for myself) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5225 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13And fix againbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5224 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Merge jamies many patchesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5223 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-13Applied jamie's cmd_gline patchspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5221 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11Whack a strlcpy()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5220 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11kill casts, so that om <3's the codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5219 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11Fix timedbans bug reported by jamiebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5217 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10This should fix the timeout issues pippjin was experiencingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5211 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10Take some debug crap out of ModeParser::ModeString()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5209 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10* Fix ChanModes::ModeString to not try and set a key as a user mode ;)brain
* Tweak the way cyclehosts works, so that mode change is not echoed back to user who changes their host/ident git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5208 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10Make it neaterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5207 e03df62e-2008-0410-955e-edbf42e46eb7