aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Expand)AuthorAgeFilesLines
* Okay, and there's the working version of it. Extbans that don't work on users...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9988 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+1
* Remove individual read buffers inside of BufferedSocket, use the shared netbu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9960 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+1
* Fix m_nopartmsg to work via API modification, involves a string copy that won...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9953 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-111-1/+1
* Yet another module priority shuffler fix from Phoenix, bad phoenix bad bad\!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9938 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-261-1/+1
* Module priority 'shuffler' fix from Phoenix, bounds checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9934 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-241-0/+7
* Module priority 'shuffler' suggestion from Phoenix, needs some testing but wo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-241-1/+8
* Allow changing of command string and parameter vector within OnPreCommand, al...•••Add basic skeleton module for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-061-1/+1
* Remove .c_str()'s in match() calls that are no longer needed as match() nativ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9737 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-181-1/+1
* Conversion of command handler params from "const char* const* parameters, int...•••IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess of .c_str() calls to using std::string params directly. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-041-6/+6
* Merge in large patchset from GreenReaper, useful fixes for freeing a ton of d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-211-3/+1
* Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, lo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-181-1/+1
* Change that allows the m_override module to not announce a key override for a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9516 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-161-1/+1
* Remove two useless methods, chanlog is b0rked at the moment.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9313 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-04-041-2/+0
* Change the 'is not within the modules dir' message to something less obscure ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9290 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-031-1/+1
* Fixy•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9225 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-301-1/+1
* Change this return type to int from void. WHY didn't this error for me.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9224 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-03-301-1/+1
* Merge OnCancelAway and OnSetAway, add param awaymsg to OnSetAway (blank when ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-03-301-2/+1
* Port bindings for gnutls now bind via ip:port, rather than on all ports for t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9188 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-1/+1
* Add stuff so that modules can hook users by altering a pointer in the User cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9187 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-0/+1
* Add WriteNumeric() to User and OnNumeric module event. Note that modules do n...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9174 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-1/+1
* Add support for OnNamesListItem, discussed with w00t a few days ago. This mak...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9140 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-211-0/+1
* Fix the warnings that are worth fixing, ignore the rest of gcc's nannying•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9117 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-171-1/+1
* Revert configure so that we can uh, actually compile.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9037 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-261-2/+2
* Rollback complete! Everyone please go through the code and check i havent for...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9019 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-241-15/+9
* This segfaults atm. i'm working on it.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9016 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-241-7/+10
* Convert remaining InspIRCd::Log() calls to new logging system•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9001 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-221-14/+14
* More test suite stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8976 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-211-0/+1
* Wheee, mass commit! this adds const stafety, throwing a compile error if anyo...•••copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-201-4/+4
* Someone please help me fix the warnings in modules caused by this change. All...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8964 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-181-1/+1
* Commit patch from danieldg that makes a ton of stuff const-safe for latest wa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-131-2/+2
* Support for /invite <user> <channel> <timeout> - if the user doesn't partake ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-081-2/+2
* Clear up header insanity•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-031-1/+1
* Make m_password_hash able to pick up hasher modules after it's loaded, meanin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-02-021-0/+13
* Move some stuff to usermanager, remove a little header insanity, remove trace...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8790 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-02-021-1/+1
* Change API OnOperCompare to OnPassCompare, password hashing is now available ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8755 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-01-271-1/+1
* Remove a redundant method here, call the mode manager directly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8732 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-171-19/+0
* Header update: 2007 -> 2008•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-101-1/+1
* Add OnExpireLine(XLine *) hook, will be used in xline db stuff to avoid getti...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8676 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-091-0/+1
* Hopefully correct implementation of OnRawMode.. can someone pls check this fo...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8654 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-1/+1
* OnRawMode event makes a return: This was removed post 1.0 because it was incr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8653 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-0/+1
* Permanent channels, currently conflicts with blockcaps (+P) and is untested•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8650 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-061-0/+1
* Add param 'opername' to event OnPostOper. This will help make a (slightly nic...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8615 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-01-021-1/+1
* More stuff incoming•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8575 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-1/+1
* More stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8574 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-1/+1
* This works properly now. Files in the file:// schema are loaded by the core.•••Anything else will be loaded by a module, this isnt done yet. For remote includes to work, your <module> tags for the remote includes modules must be in the base inspircd.conf file. This is the only file gauranteed to be avaialble in pass 1 of the two pass config read. At the end of pass 1, all files are opened/downloaded and placed into a map. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8568 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-2/+0
* In prep for remote includes, configuration reading is now two-pass.•••Note that theres an important part missing from here, there can be a NON-BLOCKING delay between the start of pass 2 and the files being available for download. At this point, ServerConfig::Read() should probably return an ENOTREADY or such at which point it gets monitored for ready state. The socket engine is ready at this point so we can poll the socket engine for it. In the case of startup, the socket engine blocks in a private loop, its no good booting the ircd till we have a complete config! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8565 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-111-1/+7
* Roadmap item "Fix jointhrottle to not try 'throttle' clients during a netmerg...•••requires an extra parameter to OnUserJoin, bool sync. usually false, but FJOIN code during burst sets it to true. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8552 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-091-1/+1
* On failure to load a module, DetachAll on the module pointer, also, try to fr...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8537 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-1/+20
* Instead of a vector of vectors, use an array of vectors as in the original sp...•••This is faster, as only the inner list resizes, and this avoids calls to std::vector::operator[] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8531 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-2/+0
* Remove debug junk from ModuleManager::SetPriority•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8530 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-041-33/+0