summaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Add OnGarbageCollect method•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6086 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-241-0/+1
* Hash rehashing change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6080 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-1/+2
* Fix issue where the last module to be loaded wasnt unloaded by restart•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6074 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-231-0/+4
* Add an optional parameter to ConfigReader::ReadValue which defines if we want...•••Tidy up some duplicated code in configreader (error reporting) Change ModuleException to inherit from CoreException, have the configreader throw and catch its CoreException on fatal error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6013 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-161-42/+3
* Jesus, look who's the commit whore today. More header updates, and removal of...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5996 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-12-151-6/+3
* Refactor userrec::chans.•••Old way: A vector of ucrec, MAXCHANS in size by default populated by NULLS, so you have to scan the vector to find an empty slot when joining a user, parting a user etc New way: std::map<chanrec*, char> (the char holds their basic core permissions on the channel [voice, halfop, op]) This increases speed a ton, and removes some wtf-age. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5986 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-141-11/+8
* Add InspIRCd::UseInterface and InspIRCd::DoneWithInterface, and also InspIRCd...•••These can be used for one module to lock other modules in memory that it depends on, this way they can enforce an unload order so that you cant (for example) unload m_ssl_gnutls.so whilst m_spanningtree.so is using it for ssl server to server sessions (in this case, youd have to unload spanningtree first, THEN ssl_gnutls, to satisfy the dependencies and unload orders) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5924 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-101-6/+36
* Add OnRawSocketConnect, we've not had it till now because we've not needed it :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-091-0/+1
* Document FindInterface, PublishInterface, UnpublishInterface, fix a bug where...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-051-0/+2
* Fix up brokage•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5871 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-051-2/+15
* Untested, undocumented PublishInterface, UnpublishInterface, FindInterface.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5867 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-051-0/+33
* Change this a LOT.•••<oper blah.... hash="md5|sha256" pass="blah..."> It will now only check pass if you put the hash= in, people have been bugging for this for a while. note the m_oper_hash module will try and detect both m_sha256 and m_md5 now, and will provide /mkpasswd that can do either. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5862 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-12-051-1/+1
* BuildExemptList is becoming pretty ugly. grr.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-271-1/+1
* Add OnBuildExemptList, which is used to build an exempt list when passing a p...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5818 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-271-0/+1
* Add exception lists to OnUserMessage and OnUserNotice, to be used for smarter...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-271-2/+2
* Add extra parameter to OnUserPreNotice and OnUserPrePrivmsg, CUList &exempt_l...•••This also bumps the module api version by one. added "CUList fixme" to peaveys module just so it builds, as this will be refactored to use the new feature that was just added :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5806 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-11-261-2/+2
* fix for bug #175, change OnUserRegister to return int, and if greater than 0 ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2006-11-211-1/+1
* Removed OnRawMode - this hasn't been called at all for awhile now, so it was ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5604 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-10-311-1/+0
* Add 'dest' parameter to OnWhoisLine, contains the user being whois'ed (we nee...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5573 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-281-1/+1
* Add support for OnWhoisLine, which allows modules to change or drop any line ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5570 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-10-281-1/+1