summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-09-24This needs some testing.brain
Reversal of FJOIN behaviour, so that rather than the winning side removing the modes of the losing side's channel, the losing side removes its own status modes when it encounters the first FJOIN, and affirms them using FMODE so that the other servers know what it did. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5317 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-24Fix bug#152 reported by smartysbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5316 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-24Dont send explicit FMODE +qa when qaprefixes is on (because its sent in the ↵brain
fjoin implicitly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5315 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-24Add new server to server command:brain
:server.name REMSTATUS #channel NOTE: Protocol version bumped to 1101 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5314 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-24Fixed bugs #150 and #151, thanks to jamie for reporting and patchesspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5311 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-23++brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5310 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-23Sneak some morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5308 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-23*sneak sneak*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5307 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Update expiries when we update the set timebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5306 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Make the check against z/k/q/e/g methods return a pointer to the whole ↵brain
object rather than just the reason string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5305 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Fix crashes, and in the process make xline even faster!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5304 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Change type to size_t so that 64 bit platforms dont whine about data loss ↵brain
when casting git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5303 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Adapt to use std::string::const_iteratorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5302 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Tidy up key handlingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5301 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Make xline more memory-efficient and faster/neater. Eliminate a mass of ↵brain
fixed-size buffer and strlcpy git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5300 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19Use ++x not x++, to more closely match what stl doesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5299 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-19ULTRA FAST HASH FUNCTION :pbrain
I went and looked how hash_fun.h in STL did it, to save a string copy :p (it's deceptively simple too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5298 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17Automatically make http request type and http version string uppercase, add ↵brain
comments, remove some unused headers git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5276 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17Testing and debugging done, it all works :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5274 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17Now supports multiple commands seperated with \n. NOTE: These \n's are ↵brain
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
2006-09-17Allow putting newlines into quoted values in the config using \n. I'm coming ↵brain
to a use for this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5272 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-17Hide ulines from /stats Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5271 e03df62e-2008-0410-955e-edbf42e46eb7
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