summaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Development/Hooking in full swing now: WARNING, this will break ALL modules f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8497 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-2/+33
* Add EventHandlers structure for Development/Hooking•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8496 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-0/+2
* Remove all the OnAddGLine, OnAddWhateverLine replace with one simple OnAddLin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8440 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-311-10/+2
* - Tear out a useless load of XLine clutters that did nothing much except conf...•••- Revert back to early 1.0 design of using a single list for line storage. We'll make this work more efficiently than 1.0 though of course. This simplifies the code for expiry, checking, etc. - Merge a bunch of sort callbacks into a single sort callback for class XLine. - Horribly break apply_lines() for the time being. .. and that's probably it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8398 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-281-54/+0
* Whoops, must be const•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8378 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-261-1/+1
* Add new event for this with gauranteed delivery of message BEFORE the text is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8376 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-261-0/+1
* More pedantic safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8318 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-231-115/+111
* Remove the need for a bunch of the hard coded arrays/hashes by scanning the s...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-221-0/+2
* Move InspIRCd::IsValidMask() to helperfuncs.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8298 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-221-36/+0
* In the grand tradition of huge fucking commits:••• - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-76/+76
* class command_t -> class Command. Whey :D•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-10-151-1/+1
* Another dodgy count fixed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8200 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-1/+1
* Fix the 'total of -1 modules have been loaded' due to new loader•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8197 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-141-1/+1
* Shut up, valgrind•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8163 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-10-131-1/+2
* Fix for bug #415, affects only trunk (wish i'd known this before i started!)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8079 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-09-251-1/+1
* Renamed the needs_unsigned parameter of ConfigReader::ReadInteger to need_pos...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8025 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-09-121-5/+5
* A few more minor cleanups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7986 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-291-163/+161
* Move everything module-related out of InspIRCd and into ModuleManager, there ...•••All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-281-115/+166
* (Om, this commit is safe): remove references to DELETE() macro, revert back t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7972 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-281-3/+3
* First step on the road of module loader rewriting. So far this only really re...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7971 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2007-08-281-18/+31
* Remove more unnecessary header traffic•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-08-271-4/+0
* Shorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining fu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7569 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-251-2/+2
* Begin move of rehash to server.cpp - broken rehash from cmdline for now.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7563 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-251-9/+0
* Move more modules related stuff to modules.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7541 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-0/+125
* Some refactoring; move LoadModule and UnloadModule over to modules.cpp -- see...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7540 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-0/+223
* Refactor some craq to not loop through a string 4-5 times for a simple operation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7539 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-07-241-19/+22
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+732
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-732/+1
* This should fix the rest of remote kill nick hiding•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-07-101-1/+1
* Some general syntax cleanups.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7304 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2007-06-141-82/+82
* Change some = "" to clear() and some == "" to .empty()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-06-091-3/+3
* Remove warning in gcc this time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7102 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* I think this was the source of burlex's confusion with the spanningtree propo...•••It should be CmdResult. Fixed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7101 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Reorder includes, dont worry there is method to my madness (i hope)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7093 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-211-1/+1
* Windows support. Tested and working to compile on freebsd and linux. Next ste...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-191-1/+1
* Remove some stuff deprecated since 1.0•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6985 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-05-111-12/+0
* Add m_taxonomy and api minor tweak to make it work, enable some modules for it.•••I have higher aims for this module, namely a neat fix for feature request in bug #285 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-101-3/+3
* Add <auditorium showops> which determines if auditorium works like ircnet +a ...•••The old behaviour is similar to anonymous channels, only showing the current user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6875 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-041-1/+1
* DO NOT USE THIS COMMIT - if you do, most of the modules wont work.•••DEVS: Please fix all modules that have warnings to use the new parameters to OnUserJoin, OnUserPart and OnUserKick (bool &silent) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-05-031-3/+3
* Add third parameter to OnUserQuit (quit reason for opers only) - bump api ver...•••Add SetOperQuit and GetOperQuit methods to userrec Add OPERQUIT command to protocol - bump protocol version All this is to properly allow hidebans etc to work properly git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6675 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-151-1/+1
* Added OnBufferFlush, improved m_safelist, no longer works on a timer but work...•••Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6657 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-03-111-0/+1
* Fix for crashbugs when quitting users as experienced by satmd, SiliconAI and ...•••QA: Please test combinations of /quit, /kill, and friends. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6595 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-191-46/+4
* When opening a file to read, check its not a directory with stat()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6557 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-101-6/+1
* Check for nonexistent file•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6556 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-02-091-6/+11
* Cache channel max bans value to save an O(n) loop of match() on every ban (et...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6267 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-091-0/+1
* DNS caching stuff (almost done)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-071-2/+9
* Fix to allow for OnRehash to know what user initiated the rehash•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-011-1/+1
* Add missing feature: /rehash reinitializes dns subsytem (and can handle chang...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6193 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-311-0/+1
* Also add support for default values for ConfValueBool and ConfValueInteger in...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6116 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-3/+14
* Add possibility to define default value for ConfValue in configreader and Rea...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6113 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-12-261-4/+8