summaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removal of all gcc2 checks (there sure was a lot of craq in here)Gravatar brain2006-07-151-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4395 e03df62e-2008-0410-955e-edbf42e46eb7
* FEAR THE POWER OF VIM AND THE ALMIGHTY "%s/ /\t/g"Gravatar brain2006-07-091-49/+49
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4249 e03df62e-2008-0410-955e-edbf42e46eb7
* Made Add*Line automatically apply the new lineGravatar special2006-07-081-0/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4186 e03df62e-2008-0410-955e-edbf42e46eb7
* FixesGravatar brain2006-03-111-11/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7
* Forceuy close fixGravatar brain2006-03-111-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3668 e03df62e-2008-0410-955e-edbf42e46eb7
* Missed some stuffGravatar brain2006-03-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3664 e03df62e-2008-0410-955e-edbf42e46eb7
* const std::string &Gravatar brain2006-03-111-72/+69
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3663 e03df62e-2008-0410-955e-edbf42e46eb7
* Start of conversion to const refs for std::strings in module api - A LOT OF ↵Gravatar brain2006-03-111-46/+46
| | | | | | STUFF WONT WORK YET git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3654 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert more by-values to const references, optimise ConfigReader a bitGravatar om2006-03-091-105/+95
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3606 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to correctly use iteratorGravatar brain2006-03-091-7/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7
* Removed deprecated Server::IsOnChannel (was a C++-ish wrapper to the C-ish ↵Gravatar brain2006-03-081-5/+0
| | | | | | has_channel, no longer needed) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3562 e03df62e-2008-0410-955e-edbf42e46eb7
* Got rid of all that ugly char* cast crap (todo: change docs to reflect change)Gravatar brain2006-03-081-6/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3556 e03df62e-2008-0410-955e-edbf42e46eb7
* *TEST* Server::DumpText - Dump a *stringstream* to a user with a std::string ↵Gravatar brain2006-03-071-0/+16
| | | | | | | | | prefix, splitting at 512 boundaries. Much more useful than cannibalizing a specialized function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3535 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed wtf-ery of Modules::SendTo - did i write this before WriteServ???Gravatar brain2006-03-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3501 e03df62e-2008-0410-955e-edbf42e46eb7
* Old stuff left behindGravatar brain2006-03-041-2/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3447 e03df62e-2008-0410-955e-edbf42e46eb7
* Tidyup of m_filterGravatar brain2006-03-041-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3446 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed definition of CallHandler and CallCommandHandler for the ability to ↵Gravatar brain2006-03-021-2/+2
| | | | | | | | | return false on bad command. This allows us to terminate server links that send commands we dont know (e.g. admin loads module A after linking, we dont have module A, when it sends module A's command, abort) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3414 e03df62e-2008-0410-955e-edbf42e46eb7
* Use ::AddTimer not AddTimer, or it calls this->AddTimer and loopsGravatar brain2006-02-231-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3304 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed to workGravatar brain2006-02-231-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3302 e03df62e-2008-0410-955e-edbf42e46eb7
* Incorporating InspTimer into safelist as a testGravatar brain2006-02-231-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed triggering time of OnBackgroundTimer to 5 secs (from 8)Gravatar brain2006-02-221-0/+1
| | | | | | | Fixed typo in new functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3288 e03df62e-2008-0410-955e-edbf42e46eb7
* Added m_safelist helper functions GetChannelCount and GetChannelIndexGravatar brain2006-02-221-0/+22
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3287 e03df62e-2008-0410-955e-edbf42e46eb7
* 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