aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused large varsGravatar brain2006-10-191-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5496 e03df62e-2008-0410-955e-edbf42e46eb7
* Remember to delete the tree root when unloading the moduleGravatar brain2006-10-171-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5495 e03df62e-2008-0410-955e-edbf42e46eb7
* Move the declaration of class Link up topGravatar brain2006-10-171-21/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5494 e03df62e-2008-0410-955e-edbf42e46eb7
* Whoops, forgot to init a varGravatar brain2006-10-171-6/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5493 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove culllist.h from here, we no longer use it.Gravatar brain2006-10-171-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5492 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove another 'using' for a symbol we use only onceGravatar brain2006-10-171-3/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5491 e03df62e-2008-0410-955e-edbf42e46eb7
* Add a ton of comments to make this much more useful now (putting it all in a ↵Gravatar brain2006-10-171-10/+58
| | | | | | | | | 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
* Brain->GoToTownOnThisModule().Gravatar brain2006-10-171-158/+84
| | | | | | | 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
* Finally take ServerInstance out of the global scope in this module, amongst ↵Gravatar brain2006-10-171-254/+269
| | | | | | | | | 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
* Allow * in override to mean all tokens in 1.1Gravatar brain2006-10-161-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5485 e03df62e-2008-0410-955e-edbf42e46eb7
* Always allow a user to dcc themselvesGravatar brain2006-10-161-1/+5
| | | | | | | 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
* Idea from nenolod, dont allow you to add yourself to your own dccallow list (!)Gravatar brain2006-10-161-7/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5482 e03df62e-2008-0410-955e-edbf42e46eb7
* Make parameter count checks more readableGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5481 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix checks on duration, this isnt valid, you cant compare a char* as an int:Gravatar brain2006-10-161-2/+2
| | | | | | | else if (parameters[1] == 0) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5480 e03df62e-2008-0410-955e-edbf42e46eb7
* Update syntax help to include HELP and LISTGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5479 e03df62e-2008-0410-955e-edbf42e46eb7
* you can't compare userrec::nick with ==, its a char[] buffer...Gravatar brain2006-10-161-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5478 e03df62e-2008-0410-955e-edbf42e46eb7
* if (dl) { do_something() } else { delete dl; } ???Gravatar brain2006-10-161-4/+0
| | | | | | | 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
* Indents all fixed, its all tabs now. Next person i see using spaces is going ↵Gravatar brain2006-10-161-188/+189
| | | | | | 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
* More crashbug fixage, half way through indent fixGravatar brain2006-10-161-300/+297
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5475 e03df62e-2008-0410-955e-edbf42e46eb7
* This compiles again now -- would have been very unstable in its old state ↵Gravatar brain2006-10-161-1/+1
| | | | | | (oopsy) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5474 e03df62e-2008-0410-955e-edbf42e46eb7
* ReadFlag, oopsGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5473 e03df62e-2008-0410-955e-edbf42e46eb7
* AURGH 4 space indents :/Gravatar brain2006-10-161-242/+241
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5472 e03df62e-2008-0410-955e-edbf42e46eb7
* GACK! you cannot ConfigReader::ReadValue to a const char*! you need to read ↵Gravatar brain2006-10-161-2/+2
| | | | | | to a string :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5471 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix: DCC types (CHAT/SEND) are case insensitiveGravatar brain2006-10-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5470 e03df62e-2008-0410-955e-edbf42e46eb7
* 1. Tidy up craq (two strcmps, lowercase and uppercase? use strcasecmp)Gravatar brain2006-10-161-354/+354
| | | | | | | 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
* Add m_dccallow module and detail configuration in inspircd.conf.exampleGravatar jamie2006-10-161-0/+513
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5468 e03df62e-2008-0410-955e-edbf42e46eb7
* Only tick the timer when there are people doing /LIST, as suggested by specialGravatar brain2006-10-121-7/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5461 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed a crash when unloading m_safelist (timers weren't properly tracked to ↵Gravatar special2006-10-111-7/+6
| | | | | | 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
* Fixed percentage in m_tline (division was backwards, so it displayed 200% ↵Gravatar special2006-10-091-1/+1
| | | | | | instead of 50%) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5459 e03df62e-2008-0410-955e-edbf42e46eb7
* Update commentsGravatar brain2006-10-081-8/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5458 e03df62e-2008-0410-955e-edbf42e46eb7
* /me thwaps special for not reading comments :pGravatar brain2006-10-061-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5445 e03df62e-2008-0410-955e-edbf42e46eb7
* Make this module propogate remote modes by directly calling the MODE command ↵Gravatar brain2006-10-061-1/+1
| | | | | | 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
* Document more classesGravatar brain2006-10-0610-8/+32
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5435 e03df62e-2008-0410-955e-edbf42e46eb7
* Document a ton of classes (e.g. give them a short description for ↵Gravatar brain2006-10-0622-51/+55
| | | | | | http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
* Update to support modular prefixes, and eliminate some string copyingGravatar brain2006-10-061-26/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5432 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimize some moreGravatar brain2006-10-061-5/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5431 e03df62e-2008-0410-955e-edbf42e46eb7
* ...and actually take out the +i restrictionGravatar brain2006-10-061-9/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5430 e03df62e-2008-0410-955e-edbf42e46eb7
* Backport improved NAMES code into m_spyGravatar brain2006-10-061-17/+45
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5429 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up strlens which are not requiredGravatar brain2006-10-063-15/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5428 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidy up m_safelist to avoid strlen on every line output, we're strlen()ing a ↵Gravatar brain2006-10-061-5/+7
| | | | | | 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
* Report invalid command name when invalid command is given in negotiation phaseGravatar brain2006-10-051-1/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5424 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove some annoying debugGravatar brain2006-10-051-6/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5423 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed freeing of bound sockets when unloading spanningtreeGravatar brain2006-10-051-3/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5422 e03df62e-2008-0410-955e-edbf42e46eb7
* Was checking 'channel', not 'dest'.Gravatar brain2006-10-051-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5421 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_STATIC from spanningtree and make a clever destructor to close and ↵Gravatar brain2006-10-051-1/+23
| | | | | | free all its open sockets. In theory this will make insp split from everything neatly when you unload spanningtree. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5418 e03df62e-2008-0410-955e-edbf42e46eb7
* Add <options:announcets> to output the "TS for #chan changed from 1111 to 2222".Gravatar brain2006-10-051-1/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5417 e03df62e-2008-0410-955e-edbf42e46eb7
* Eugh. Revert change InspIRCd::Time() -> time()Gravatar jamie2006-10-041-5/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5416 e03df62e-2008-0410-955e-edbf42e46eb7
* Check for non-existent channel in FMODEGravatar brain2006-10-041-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5415 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix jamies fix (you cant strcpy to a char* pointer, without first allocating ↵Gravatar brain2006-10-041-1/+8
| | | | | | | | | some memory!) -- made it char newident[MAXBUF]. Added extra fixage for when the ident module gets 'connection refused' right away, this also prepends the ~ properly too now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5413 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix for bug#159 reported by SiliconAI (unloading causes crash, it neglects ↵Gravatar brain2006-10-041-0/+1
| | | | | | to remove its timer) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5412 e03df62e-2008-0410-955e-edbf42e46eb7