aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed to use __single_client_alloc, supposedly faster in single-thread ↵Gravatar brain2005-05-151-10/+9
| | | | | | situations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1402 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved StrHashComp and InAddr_HashComp into the irc:: namespaceGravatar brain2005-05-151-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1398 e03df62e-2008-0410-955e-edbf42e46eb7
* sorted hashcomp etcGravatar brain2005-05-151-8/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1387 e03df62e-2008-0410-955e-edbf42e46eb7
* Moved a ton of functions into helperfuncs.h to speed up recompilesGravatar brain2005-05-151-70/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1383 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Server::GetServerDescription() at request of CraigGravatar brain2005-05-131-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1374 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the type of struct whowas records are stored in (no need to waste a ↵Gravatar brain2005-05-121-1/+2
| | | | | | big heavy userrec) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
* Basics of kqueue() implementation for socket engineGravatar brain2005-05-091-2/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1348 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to way allocations are handledGravatar brain2005-05-091-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1346 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed the final bunch of udp_* vars to server_*/tcp_*Gravatar brain2005-05-081-1/+1
| | | | | | | Fixed ircservices sending PING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1326 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed services not being informed of force joinsGravatar brain2005-05-061-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1319 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed park crash bug #63 reported by ViaraiXGravatar brain2005-05-061-3/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1312 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix to prevent quits being sent onto the network for nonexistent usersGravatar brain2005-05-031-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1292 e03df62e-2008-0410-955e-edbf42e46eb7
* Added FindDescriptorGravatar brain2005-05-011-0/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1273 e03df62e-2008-0410-955e-edbf42e46eb7
* Added and tested fd crossreference table - improves speed a lot, and fixes ↵Gravatar brain2005-05-011-52/+57
| | | | | | one of the /STATS chars which has been broken a while git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1271 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnAddBan and OnDelBan module api calls, and fixed glitch which ↵Gravatar brain2005-04-301-0/+2
| | | | | | required them in m_timedbans module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1267 e03df62e-2008-0410-955e-edbf42e46eb7
* Added mode 'compression', stops abuse with modes like: +s-s+s-s+s-sGravatar brain2005-04-301-3/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1266 e03df62e-2008-0410-955e-edbf42e46eb7
* Added remote versioningGravatar brain2005-04-281-12/+20
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1244 e03df62e-2008-0410-955e-edbf42e46eb7
* No suck nickname?! why didn't anyone see this?!Gravatar brain2005-04-271-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1215 e03df62e-2008-0410-955e-edbf42e46eb7
* Optimized stuffGravatar brain2005-04-271-11/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1212 e03df62e-2008-0410-955e-edbf42e46eb7
* Added global oper monitoring through modules and global connect monitoring ↵Gravatar brain2005-04-231-0/+2
| | | | | | through modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1177 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnOperCompare function to override strcmp in password check for /operGravatar brain2005-04-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1161 e03df62e-2008-0410-955e-edbf42e46eb7
* Added module message passing architectureGravatar brain2005-04-201-0/+68
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1136 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnUserDisconnect method to modules.* to fix fd leak in m_ident.cppGravatar brain2005-04-201-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1134 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed strange join behavior reported by w00t (mirc requesting MODE ↵Gravatar brain2005-04-181-2/+2
| | | | | | immediately after JOIN) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1116 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixed strhashcompGravatar brain2005-04-181-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1115 e03df62e-2008-0410-955e-edbf42e46eb7
* Added:Gravatar brain2005-04-161-0/+45
| | | | | | | | | | | | | | OnMeshToken MeshSendAll(std::string text); MeshSendCommon(userrec* user, std::string text); MeshSendAllAlive(std::string text); MeshSendUnicast(std::string destination, std::string text); MeshSendAllExcept(std::string target, std::string text); MeshCheckChan(chanrec *c,std::string servername); MeshCheckCommon(userrec* u,std::string servername); git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1112 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a chanrec to OnRawMode, om pointed out i hadnt given him it :DGravatar brain2005-04-161-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1108 e03df62e-2008-0410-955e-edbf42e46eb7
* Added new API methods:Gravatar brain2005-04-151-0/+9
| | | | | | | | | | | | | | | 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
* Added OnUserKick and OnUserPreKickGravatar brain2005-04-141-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1086 e03df62e-2008-0410-955e-edbf42e46eb7
* Added (untested!) OnCheckReady and OnUserRegister (gonna write an ident ↵Gravatar brain2005-04-141-0/+2
| | | | | | lookup module!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1081 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnPreCommandGravatar brain2005-04-141-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1080 e03df62e-2008-0410-955e-edbf42e46eb7
* Added IsValidHostMaskGravatar brain2005-04-131-0/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1078 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Module::OnSendListGravatar brain2005-04-131-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1072 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Server::AddGLineGravatar brain2005-04-131-0/+56
| | | | | | | | | | | | | | | | 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
* Added OnBackgroundTimer method, ticks every 5 seconds approximatelyGravatar brain2005-04-121-3/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1058 e03df62e-2008-0410-955e-edbf42e46eb7
* Added Server::PseudoToUser and Server::UserToPseudoGravatar brain2005-04-121-0/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1057 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed parameters of OnPacketTransmit and OnPacketReceive to be much more ↵Gravatar brain2005-04-091-2/+2
| | | | | | useful git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1024 e03df62e-2008-0410-955e-edbf42e46eb7
* /LOADMODULE and /UNLOADMODULE all successfully working!Gravatar brain2005-04-071-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1002 e03df62e-2008-0410-955e-edbf42e46eb7
* Started work on /UNLOADMODULE, resource tracking and flags in Version classGravatar brain2005-04-071-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@999 e03df62e-2008-0410-955e-edbf42e46eb7
* Major optimizations!Gravatar brain2005-04-051-0/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@982 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the module method OnUserPostNick for capturing a nickchange AFTER it ↵Gravatar brain2005-04-041-0/+1
| | | | | | has taken place git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@976 e03df62e-2008-0410-955e-edbf42e46eb7
* Made config parsing code a bit more lenientGravatar brain2005-03-271-0/+3
| | | | | | | | | | 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
* Added implementation of strlcpy and strlcat for systems that dont have itGravatar brain2005-03-251-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@905 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes for GCC3.4 and namespaces (must rerun configure!)Gravatar brain2005-03-251-23/+29
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@902 e03df62e-2008-0410-955e-edbf42e46eb7
* Changed occurances of vector to std::vectorGravatar brain2005-03-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@900 e03df62e-2008-0410-955e-edbf42e46eb7
* Added a lot of config error checkingGravatar brain2005-03-251-2/+38
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@898 e03df62e-2008-0410-955e-edbf42e46eb7
* Security audit based on RATS outputGravatar brain2004-09-111-11/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@855 e03df62e-2008-0410-955e-edbf42e46eb7
* Added support for changing of text within OnUserPreNotice and ↵Gravatar brain2004-05-221-2/+2
| | | | | | OnUserPreMessage (required for modes +G and +S etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@821 e03df62e-2008-0410-955e-edbf42e46eb7
* Added remainder of OnUserPreInvite stuffGravatar brain2004-05-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@820 e03df62e-2008-0410-955e-edbf42e46eb7
* Added OnUserPreInvite method for use with +V etcGravatar brain2004-05-221-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@817 e03df62e-2008-0410-955e-edbf42e46eb7