summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-27Because the user's prefix list must remain sorted at all times (because of ↵brain
assumptions in xchat) this means that we don't need to scan the list looking for their highest prefix, it will always be at begin(). This changes the speed of GetPrefix() and GetPrefixValue() from O(n) to O(1). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5348 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Optimizationsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5347 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Tidy up how PART without reason is donebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5346 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Someone forgot support for CIDR herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5345 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27And correct itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5344 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-27Move OnCheckBan into chanrec::IsBanned() so its always called for any ↵brain
attempt to check any ban git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5343 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Dont let people enable gnutls/openssl when they dont have it... imho people ↵brain
shouldnt try and enable support for things they dont have, whats next, preventing them symlinking it? :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Make svshold case insensitive, fix ./configure -update and ./configure ↵brain
-modupdate which were...still broke :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5341 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Fix bug found by giggsey (even though he doesnt realise he just found one)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5340 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26make OnPostConnect globalbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5339 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Remove deprecated -nolimit and -notraceback optionsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5338 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Only output the 'AES on' message if the socket state isnt I_ERROR when its ↵brain
reached git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5337 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Change error from 'connection established' to 'connection started'brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5336 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Fixed a rather obvious crashbug in m_spanningtree (FJOIN)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5335 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26Fix handling of multiple @%+ core permissions modes on join when more than ↵brain
one are given git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5334 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Mini security auditbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5333 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Document the ability to have multiple <http> tagsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5332 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25And maybe, just maybe, not fuck it up :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5331 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Allow for multiple <http> tags, each with their own index and bound to their ↵brain
own ip git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5330 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25This doesnt really need to be staticbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5329 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Whoops, fix minor typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5328 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25All done.brain
Modules may now change the privialges each user gets as they join, in OnUserPreJoin. For the first user in, this value defaults to a string containing "@" otherwise it defaults to a string containing nothing. If you change it, they get the new prefixes instead, and yes module-based prefixes ARE supported and its all automatically networked. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Make this compile. We now have to change all OnUserPreJoin usebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5326 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25More patchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5325 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Whoops, patchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5324 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Added /greloadmodule to m_globalload.sospecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5323 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Add send_topic event, lets you send a topic for a channel, set by a serverbrain
(internally this translates as FTOPIC in this protocol) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5322 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25SVSHOLD, not SVSHoldw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5321 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Speed improvements to userrec::GlobalCloneCount()special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5320 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Add m_svshold, Q:Lines on crack for services. Party party! \o/w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5319 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-25Fix (broken) ./configure -update and ./configure -modupdatebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5318 e03df62e-2008-0410-955e-edbf42e46eb7
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-24Speaking of misleading comments, 'Delete and InspTImer' isn't particularly ↵special
descriptive git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5313 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-24Fixed the reversal of update and modupdate in ./configurespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5312 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