summaryrefslogtreecommitdiff
path: root/src/modules.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Move tons more stuff into class InspIRCd*, make signal handler functions stat...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4855 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-1/+1
* Move IsNick, IsIdent into class InspIRCd, update modules that use it.•••Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-6/+0
* PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> Ins...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-11/+11
* Removal of Server::Log -- not much ever used it anyway with the ability to us...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4845 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-5/+0
* Fixes and removal of Server::GetServerName()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4844 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-5/+0
* Server::GetAdmin, Server::GetServerDescription, Server::GetNetworkName --- *R...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4843 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-23/+0
* Remove Server::Server() and Server::~Server()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-8/+0
* cmode(), cflags(), cstatus() -> chanrec::GetStatusChar(), chanrec::GetStatusF...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4837 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-5/+0
* Server::GetConfig, Server::GetVersion -> removed•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4833 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-10/+0
* FindNick, FindChan, ChanModes, UserList, CountInvisible, PurgeEmptyChannels, ...•••ServerConfig takes InspIRCd pointer in its constructor git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-19/+4
* Relocate timer stuff into TimerManager class•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4827 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-101-5/+0
* userrec and chanrec now have their own independent pointer back to their 'cre...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4820 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-1/+1
* Move tons more stuff into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4819 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-14/+4
* Move clientlist and chanlist into InspIRCd*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4818 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-4/+2
* Move fd_ref_table into class InspIRCd*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4817 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-3/+2
* Move socket_ref and module_sockets vectors/arrays into InspIRCd*. These are p...•••(eventually, this will be marshalled safely through some accessors). When constructing an InspSocket you must now provide an InspIRCd* instance to 'attach' the socket to. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4812 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-5/+4
* Tidy up loglevel enum (remove some C-ish defines)•••change ServerConfig to pass a pointer to 'this' to Validation etc functions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4811 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-2/+2
* ServerConfig extern moved into class InspIRCd•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-25/+24
* Get rid of Server::GetUsers(chanrec) - a throwback to before chanrec could do...•••Move: bool ChangeDisplayedHost(const char* host); bool ChangeName(const char* gecos); int CountChannels(); Into userrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4807 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-20/+0
* common_channels -> userrec::SharesChannelWith()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4805 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-091-5/+0
* Improve Write functions, and change some stuff from char* to const char*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4803 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-1/+1
* WriteWallops() -> userrec::WriteWallops() (originates from a user, so belongs...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4802 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-5/+0
* WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), userrec::Wri...•••WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-12/+0
* WHEEEEE!!!!!•••All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-39/+10
* userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-4/+0
* kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-6/+1
* WriteChannel* functions and ChanExceptSender* functions are now methods of ch...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-33/+0
* add_channel -> chanrec::JoinUser()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4787 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-5/+0
* Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns the...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-5/+0
* Check return values•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4784 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-2/+6
* kick_channel -> chanrec::KickUser(), server_kick_channel -> chanrec::ServerKi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4782 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-081-2/+2
* Move more stuff into class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-1/+1
* REMOTE STATS! WOOO AND YAY!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-301-1/+1
* * Fix Server::SendMode to actually work again.•••* In the 1.1 protocol we now use FMODE for everything, rather than MODE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4551 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-271-1/+1
* In the constructor which doesnt set Request::id, we set Request::id explicitl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4533 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-231-1/+5
* Add an ID field to Request and a GetId() method, takes const char* and return...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4529 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-231-4/+23
* mass tidyup, change A LOT of stuff to const char** which was char** (such as ...•••which makes the new lineparser work neater with no casts. This also removes tons of casts from other locations (all in all, ive added 2 casts and removed almost a hundred) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4403 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-161-3/+3
* Test framework in m_testcommand, add interface•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-121-0/+6
* ContentSize speedups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4316 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-2/+9
* Fugly code band-aid^H^H^H^H^Hfix•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4315 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-2/+2
* Add FileReader::ContentSize and FileReader::Contents•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-0/+19
* Add interface to AddModeWatcher and DelModeWatcher into class Server•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4267 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-0/+10
* Fix for compiler warning•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-101-1/+2
* Fix whoopsies•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4239 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-2/+2
* Added Server::GetModuleName(), Module* to filename•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4238 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-091-0/+12
* Port m_blockcaps to new api, remove OnExtendedMode and OnDisplayList events e...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4191 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-2/+0
* Remove Server::AddExtendedMode and Server::AddExtendedListMode, replace with ...•••NOTE: Modules that implement modes WILL NO LONGER COMPILE NOW UNTIL THEY ARE PORTED TO THE NEW API git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4188 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-081-127/+2
* Forward port of fix for Add*Line to apply automatically•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4187 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2006-07-081-0/+4
* Mode parser WORKS! (for simple non-parameterized channel modes)•••Tested with channel mode +s. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4126 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-071-1/+1
* change std::string's to const std::string references for *Feature() funcs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4121 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-07-071-3/+3