summaryrefslogtreecommitdiff
path: root/src/modules.cpp
AgeCommit message (Collapse)Author
2005-04-15Added new API methods:brain
int Module::OnRawMode(userrec* user, char mode, std::string param, bool adding, int pcnt); int Module::OnCheckInvite(userrec* user, chanrec* chan); int Module::OnCheckKey(userrec* user, chanrec* chan, std::string keygiven); int Module::OnCheckLimit(userrec* user, chanrec* chan); int Module::OnCheckBan(userrec* user, chanrec* chan); void Module::OnStats(char symbol); int Module::OnChangeLocalUserHost(userrec* user, std::string newhost); int Module::OnChangeLocalUserGECOS(userrec* user, std::string newhost); int Module::OnLocalTopicChange(userrec* user, chanrec* chan, std::string topic); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1105 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14Added OnUserKick and OnUserPreKickbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1086 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14Added (untested!) OnCheckReady and OnUserRegister (gonna write an ident ↵brain
lookup module!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1081 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-14Added OnPreCommandbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1080 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13Added IsValidHostMaskbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1078 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13Added Module::OnSendListbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1072 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13Added Server::AddGLinebrain
Added Server::AddKLine Added Server::AddZLine Added Server::AddQLine Added Server::AddELine Added Server::DelGLine Added Server::DelKLine Added Server::DelZLine Added Server::DelQLine Added Server::DelELine Added Server::Duration git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1071 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-12Added OnBackgroundTimer method, ticks every 5 seconds approximatelybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1058 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-12Added Server::PseudoToUser and Server::UserToPseudobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1057 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-09Changed parameters of OnPacketTransmit and OnPacketReceive to be much more ↵brain
useful git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1024 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07/LOADMODULE and /UNLOADMODULE all successfully working!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1002 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Started work on /UNLOADMODULE, resource tracking and flags in Version classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@999 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-05Major optimizations!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-04Added the module method OnUserPostNick for capturing a nickchange AFTER it ↵brain
has taken place git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@976 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-27Made config parsing code a bit more lenientbrain
Added error checking to make sure opertypes exist before opering a user! Added 005 handling for modules Started on KILL event for modules Started on OnModuleLoad event for modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@918 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Added implementation of strlcpy and strlcat for systems that dont have itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Fixes for GCC3.4 and namespaces (must rerun configure!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@902 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Changed occurances of vector to std::vectorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7
2005-03-25Added a lot of config error checkingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@898 e03df62e-2008-0410-955e-edbf42e46eb7
2004-09-11Security audit based on RATS outputbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@855 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-22Added support for changing of text within OnUserPreNotice and ↵brain
OnUserPreMessage (required for modes +G and +S etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@821 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-22Added remainder of OnUserPreInvite stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@820 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-22Added OnUserPreInvite method for use with +V etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@817 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-16Updated header commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-09Added support for /RESTART (currently has a bug, do not use)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@800 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-08Removed some debug stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@798 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-01Added documentation of new ConfigReader methods suggested by Azhrarn for sanitybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@772 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-01Provided modules with the ability to sync data on a netjoinbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@767 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-01Added Module::OnAccessCheckbrain
Added ListMode support Fixed Extensible class bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@759 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-27Added m_alias module which provides command aliases.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@746 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-23Fixed typo in this filebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@704 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-23a|KK|y bitchingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@703 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-22Added more services stuffbrain
Added support for OnUserPreNick API command (used with qlines, etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@696 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-22Added tons of services/uline stuff. DO NOT USE YET! services data isnt ↵brain
replicated across the network! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@688 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-20ConfigReader fixes to cope with tab characters (why didnt we notice this ↵brain
before?) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@680 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-19added mode.h/mode.cpp and seperated mode functions into itbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@666 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-17Added calls to sched_yield() to cut down processor usage - won't work in *bsdbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@635 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-12Added 'a' amd 'b' server link tokens (change gecos, change host)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@562 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-12Added '@' (WALLOPS) link tokenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@561 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-11Added 'i' and 't' type link datagramsbrain
Fixed /mode #channel +b glitch git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@521 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-10Added J, P and Q type datagramsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@501 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-10Added server to server 'J' tokenbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@481 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-08Added ConfigReader::EnumValues() (requested by Craig)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@456 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-08Fixes to connection pooling... this brain misunderstood the parameters to ↵brain
select :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@452 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-07Fixed bug where putting too many spaces in a privmsg disconnected the userbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@429 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-07Added Server::CountUsers functionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@423 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-07Added preliminary support for ConfigReader::Verify at request of the slug :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@419 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-07Added servernotice back to the user, informing thembrain
Added support for NULL as first parameter to Server::SendTo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@418 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-07Stability fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@415 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-07Fixed config reader to cache its files instead of re-reading them for each ↵brain
access git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@413 e03df62e-2008-0410-955e-edbf42e46eb7