summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
AgeCommit message (Collapse)Author
2006-08-11None of the modules use an extern InspIRCd* any morebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4863 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11(Bigger than it looks, i did this with perl inplace edit) -- commands now ↵brain
take an InspIRCd* param to their constructor, so that you can do stuff within them without an extern git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4862 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Last of Server:: methods moved to InspIRCd::. Server:: removed.brain
This will need a real good tidyup later, because now everything is in the right place, but its a mess because for now i threw them into place (e.g. space indenting, etc) Next on the todo: Make command handlers have a ServerInstance (gank!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4861 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-10Note: FOR THE MOMENT, this is BROKEN. It wont run right until im done.brain
Changed Parameter for modules from Server* to InspIRCd*. TODO: Move remaining Server* Modules into InspIRCd* and remove class Server. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4859 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09Change some resolver stuff.brain
OM, THIS STILL WONT COMPILE! Error on the same line git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4821 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09do_log -> static void InspIRCd::Log() (with vararg and std::string variants)brain
The #define for this still exists, but maybe should be phased out? git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4809 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Extra stuff for forcing a v4 or v6 lookupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Added test framework, so that i can work on improving MakeIP6Intbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Fixed resolver, forward lookup of ipv6 doesnt work right yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4674 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Add error messages to Resolver::OnError()brain
Add exception handling to several places that use Resolver (it can throw) Remove Resolver::ProcessResult(), its now handled within the bowels of dns.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4646 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Remove unused temp buffersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-16mass tidyup, change A LOT of stuff to const char** which was char** (such as ↵brain
parameters to commands in handlers) 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
2006-07-12Add exception handling herebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4361 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Added helperfuncs.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4356 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Oops, make methods publicbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4355 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-12Test framework in m_testcommand, add interfacebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-08Tidied up m_testcommand (removed a mode handler)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4197 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-12Renamed to chanrec::modesbrain
Renamed IsCustomModeSet to IsModeSet GetModeParameter will now return the channel limit (as a string) for a request for mode 'l' and the channel key for a request for mode 'k'. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3692 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26Server* Srv marked static or moved to private member of module class in all ↵brain
modules, paves way for removal of static-build-munging-regexp that breaks +eI git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3330 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15Updated copyrights in headers etc using perl inplace editbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26Last set converted to 'Implements'brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Typo in declarationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2539 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Last set of modules converted to new command systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2538 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-16Added support for new command systembrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2537 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-07Changed behaviour of module API to pass Server* to the constructor, rather ↵brain
than have to create one (makes more sense) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2252 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-30Few more stylistic changes, modules is now (fairly) consistant with how it ↵w00t
should be.. src directory might be done if it's ever frozen. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2034 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-15Changed to use __single_client_alloc, faster on most systems in a single threadbrain
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Tons of module versionflags stuff, and checks for it in /UNLOADMODULEbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1001 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-07Added version flagsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1000 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
2004-05-16Updated header commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-01Added Module::OnAccessCheckbrain
Added ListMode support Fixed Extensible class bug Added +qa mode module git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@760 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-05Modified the Module::OnExtendedMode() method to use a void* as its target ↵brain
which the coder must cast into a chanrec or userrec. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@383 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-04Fixed a bug in servermode handling where the target is a channel, found by ↵brain
ChroNiCk git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@382 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-04Completed support for module-handled umodesbrain
Updated m_cloaking to auto-set mode +x, and update cloaking status as its added/removed from users git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@378 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-04Added support for module-based chanmodes with parameters and the ability to ↵brain
query the mode states. Created test case in m_testcommand module where a mode with one parameter can be set/removed on channels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@375 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-03Added support for module-defined chanmodes with no parametersbrain
Fixed minor typo in example conf Added new stylesheet and docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@362 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-02Improved commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@357 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-02Added ability to override modes (allows SAMODE support etc)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@355 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-02Clarified documentationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@354 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-02Fixed typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@353 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-02Added simple test command modulebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@352 e03df62e-2008-0410-955e-edbf42e46eb7