summaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Server::AddExtendedMode and Server::AddCommand will now throw exceptions ↵Gravatar brain2006-02-191-5/+13
| | | | | | when adding a bad mode or already existing command. If the module constructor does not handle this exception, this will abort the module's constructor, forbidding loading of modules which are unable to function (smart eh) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3246 e03df62e-2008-0410-955e-edbf42e46eb7
* Experimental improved string handling in server linksGravatar brain2006-02-071-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3127 e03df62e-2008-0410-955e-edbf42e46eb7
* Propogation of away messages across network (we dont bounce the numeric back ↵Gravatar brain2006-02-051-0/+2
| | | | | | for every privmsg like other ircds, we burst them and keep them synched by broadcasting AWAY) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3095 e03df62e-2008-0410-955e-edbf42e46eb7
* Added "char status" parameter to OnUserPreNotice and OnUserPreMessage for ↵Gravatar brain2006-02-041-2/+2
| | | | | | | | | NOTICE @#chan etc. Tidied up craq++ in modules (copy and pasting OnUserPreNotice into OnUserPreMessage?! why not just call one from the other!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3072 e03df62e-2008-0410-955e-edbf42e46eb7
* Typo fixes #2Gravatar brain2006-02-031-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3052 e03df62e-2008-0410-955e-edbf42e46eb7
* This probably wont compile atm - add support for prefixed messagesGravatar brain2006-02-031-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3046 e03df62e-2008-0410-955e-edbf42e46eb7
* Remainder of TYPE_OTHER metadataGravatar brain2006-01-301-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2983 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved Write() call so that it can send the NICK message properly and force ↵Gravatar brain2006-01-291-3/+6
| | | | | | the client to change git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2978 e03df62e-2008-0410-955e-edbf42e46eb7
* Created OnPostOper that can be gauranteed to be called *after* opering (by ↵Gravatar brain2006-01-291-0/+1
| | | | | | ALL modules) is done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7
* Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp ↵Gravatar brain2006-01-251-0/+24
| | | | | | for how it works, function Prioritize()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2889 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to make server kicks workGravatar brain2006-01-221-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2831 e03df62e-2008-0410-955e-edbf42e46eb7
* Added facility for servers to send KICK message (ew, i hate this crap)Gravatar brain2006-01-221-0/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel ↵Gravatar brain2006-01-221-0/+1
| | | | | | | | | is deleted for cleanup of metadata) Added m_messageflood.so (not yet finished, do not use yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7
* Added support for part messages in the module API (and therefore between ↵Gravatar brain2006-01-171-1/+1
| | | | | | servers too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7
* Updated copyrights in headers etc using perl inplace editGravatar brain2006-01-151-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
* Added RemoveSocket as a test fix for merwins bugGravatar brain2006-01-141-0/+17
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2787 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed channel user lists from vector to mapGravatar brain2006-01-121-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORSGravatar brain2006-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to naming schemeGravatar brain2006-01-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2762 e03df62e-2008-0410-955e-edbf42e46eb7
* Missing classnameGravatar brain2006-01-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2761 e03df62e-2008-0410-955e-edbf42e46eb7
* Untested priority system for modules to move themselves to the start or end ↵Gravatar brain2006-01-091-0/+1
| | | | | | of the module queue git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2758 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed warning about missing return valueGravatar brain2006-01-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2752 e03df62e-2008-0410-955e-edbf42e46eb7
* *TEST* Oper-Only-Stats (not yet tested)Gravatar brain2006-01-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2749 e03df62e-2008-0410-955e-edbf42e46eb7
* Sync fixes for m_park et alGravatar brain2006-01-091-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2744 e03df62e-2008-0410-955e-edbf42e46eb7
* Double checking to make sure that non-local users dont end up in the local ↵Gravatar brain2006-01-091-1/+1
| | | | | | users list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2743 e03df62e-2008-0410-955e-edbf42e46eb7
* More usertopseudo fixesGravatar brain2006-01-091-0/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2742 e03df62e-2008-0410-955e-edbf42e46eb7
* m_park.cpp fixes (and anything else using UserToPseudo and PesudoToUser)Gravatar brain2006-01-091-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2741 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized out some more redundant va_args voodooGravatar brain2005-12-301-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2706 e03df62e-2008-0410-955e-edbf42e46eb7
* More removal of formatting where its not neccessary x("%s",str) == bad!Gravatar brain2005-12-291-8/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed support for implementation hooksGravatar brain2005-12-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 e03df62e-2008-0410-955e-edbf42e46eb7
* Adding hook type checking to event calls to speed them upGravatar brain2005-12-261-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved m_alias to only capture complete commands and rewrite them (bug #92 ↵Gravatar brain2005-12-211-1/+1
| | | | | | as reported by strike) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2601 e03df62e-2008-0410-955e-edbf42e46eb7
* Added IOHookModule stuff to allow for different modules to hook different portsGravatar brain2005-12-181-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2564 e03df62e-2008-0410-955e-edbf42e46eb7
* Split all commands into seperate files and redid command system to take ↵Gravatar brain2005-12-161-2/+2
| | | | | | classes, not function pointers (function pointers suck ass) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved SocketEngine* SE into InspIRCd classGravatar brain2005-12-161-2/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2527 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved ModeGrok and Parser into InspIRCd classGravatar brain2005-12-161-7/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2522 e03df62e-2008-0410-955e-edbf42e46eb7
* GROK!Gravatar brain2005-12-161-1/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2521 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed to Parser->CreateCommand()Gravatar brain2005-12-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2519 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed command parserGravatar brain2005-12-161-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2512 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved command_parse functions into class CommandParserGravatar brain2005-12-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2510 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed dodgy makefile generationGravatar brain2005-12-161-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2507 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed I/O reading stuff for modules to be much faster (and exclusive :()Gravatar brain2005-12-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2500 e03df62e-2008-0410-955e-edbf42e46eb7
* Moving to faster way of hooking i/oGravatar brain2005-12-161-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2499 e03df62e-2008-0410-955e-edbf42e46eb7
* Full removal of inspircd_util.hGravatar brain2005-12-151-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2485 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidied up call_handler to use stringsGravatar brain2005-12-151-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2476 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Server::GetVersion()Gravatar brain2005-12-141-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2455 e03df62e-2008-0410-955e-edbf42e46eb7
* Sucky stuffGravatar brain2005-12-141-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2449 e03df62e-2008-0410-955e-edbf42e46eb7
* GrrrrrrGravatar brain2005-12-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2448 e03df62e-2008-0410-955e-edbf42e46eb7
* Moving module_sockets into main classGravatar brain2005-12-141-4/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2441 e03df62e-2008-0410-955e-edbf42e46eb7
* Code tidyingGravatar brain2005-12-141-9/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2440 e03df62e-2008-0410-955e-edbf42e46eb7