summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-10-19Use rfind rather than find when chopping strings, its faster as the \r is ↵brain
more likely to be at the end of the sequence not the start git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Remove unused large varsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5496 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Remember to delete the tree root when unloading the modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5495 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Move the declaration of class Link up topbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5494 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Whoops, forgot to init a varbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5493 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Remove culllist.h from here, we no longer use it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5492 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Remove another 'using' for a symbol we use only oncebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5491 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Add a ton of comments to make this much more useful now (putting it all in a ↵brain
class essentially forward-declares the lot and gives opportunity to comment) remove 'using namespace std' which we dont need. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5490 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Brain->GoToTownOnThisModule().brain
There is now NOTHING in the global namespace in this module. it's all passed around by class pointers, keeping the exported namespace clean git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5489 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-17Finally take ServerInstance out of the global scope in this module, amongst ↵brain
a ton of other stuff. Put it all into a class called SpanningTreeUtilities and pass this class around when constructing new objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5488 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Added a tiny bit more logging to LoadModule, to log to default loglevel when ↵brain
a module is loaded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5487 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Multiply API_VERSION by ten if IPV6 is defined, to prevent modules built for ↵brain
an ipv6 insp being loaded into an ipv4 insp (the sizes of structs such as userrec and inspsocket are different when ipv6 is enabled) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5486 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Allow * in override to mean all tokens in 1.1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5485 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Always allow a user to dcc themselvesbrain
Only return CMD_SUCCESS when a user is added or deleted, theres no use in propogating HELP or LIST git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5483 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Idea from nenolod, dont allow you to add yourself to your own dccallow list (!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5482 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Make parameter count checks more readablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5481 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Fix checks on duration, this isnt valid, you cant compare a char* as an int:brain
else if (parameters[1] == 0) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5480 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Update syntax help to include HELP and LISTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5479 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16you can't compare userrec::nick with ==, its a char[] buffer...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5478 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16if (dl) { do_something() } else { delete dl; } ???brain
no no no, you cannot delete null pointers! :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5477 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Indents all fixed, its all tabs now. Next person i see using spaces is going ↵brain
to get clobbered with the wide end of a tennis racket! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5476 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16More crashbug fixage, half way through indent fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5475 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16This compiles again now -- would have been very unstable in its old state ↵brain
(oopsy) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5474 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16ReadFlag, oopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16AURGH 4 space indents :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5472 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16GACK! you cannot ConfigReader::ReadValue to a const char*! you need to read ↵brain
to a string :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5471 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Fix: DCC types (CHAT/SEND) are case insensitivebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-161. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)brain
2. TABS AND ONLY TABS not eight spaces! :P (or fear the wrath of om and w00t) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5469 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-16Add m_dccallow module and detail configuration in inspircd.conf.examplejamie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5468 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-12Only tick the timer when there are people doing /LIST, as suggested by specialbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5461 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-11Fixed a crash when unloading m_safelist (timers weren't properly tracked to ↵special
be deleted). Someone should seriously consider rewriting this module, or at least seriously overhauling it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5460 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-09Fixed percentage in m_tline (division was backwards, so it displayed 200% ↵special
instead of 50%) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5459 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-08Update commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5458 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-07Replaced operonlystats with userstats to improve securityspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5456 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-07Add distclean, does the same as squeakclean, just for traditionalistsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5451 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-07b4 SVNbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5450 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-07Oops, marble.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5449 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-07Granite!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5447 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-07Fix (we hope!) for the 'internal error processing connection' bug. Thanks to ↵brain
jamie and shadow for enduring this one while we hunted it down. Its complicated, bug one of us for more info if youre really interested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5446 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06/me thwaps special for not reading comments :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5445 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Make this module propogate remote modes by directly calling the MODE command ↵brain
handler rather than using SendMode which would also require spanningtree metadata git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5444 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Revert tweakbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5443 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06WriteOpers when reaching the softlimitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5442 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06New example conf with softlimit set to 12800 so that the default doesnt ↵brain
confuse us git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5441 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06More.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5440 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06More debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5439 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Extra debuggingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5438 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Make the socketengines always clear the slots on DelFd, even if the ↵brain
underlying queue call fails git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5437 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Add extra debugging for socketengines, will now report OS error string when ↵brain
failing to remove a socket from the queue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5436 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Document more classesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7