summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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
2006-10-06Document a ton of classes (e.g. give them a short description for ↵brain
http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Remove a strcpybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5433 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Update to support modular prefixes, and eliminate some string copyingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5432 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Optimize some morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5431 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06...and actually take out the +i restrictionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5430 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Backport improved NAMES code into m_spybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5429 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Tidy up strlens which are not requiredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5428 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06And fix typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5427 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06tidy up WriteModebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5426 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Tidy up m_safelist to avoid strlen on every line output, we're strlen()ing a ↵brain
constant-ish string so instead record the value for later use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-05Report invalid command name when invalid command is given in negotiation phasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7