summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
AgeCommit message (Collapse)Author
2007-10-21Another big commit, just to please all my fans out there.. cmd_* -> ↵w00t
Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15class command_t -> class Command. Whey :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Remove unnecessary header trafficw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7885 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-22m_testcommand deletes its command handler manually, no modules should do ↵brain
this. Will cause a double free git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7497 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵peavey
auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-07Implement /dalinfo, as a joke. Consider this an easter egg.brain
More debug logging in m_ssl_openssl, still not fixed git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7430 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-03Removed superfluous semicolonspippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7423 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-17Module factory and init function in modules turned into a neat macro:brain
INIT_MODULE(MyModuleClassName); Get cracking, w00t :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7341 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-21Header rearrangement, move inspircd.h to top, remove stdio, stdlib, ↵brain
stdblahblah that we dont even use, remove redeclared <string>, <map>, <vector>. This (1) fixes the irc::string::move warnings on vc8 (2) speeds up compile a lot git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7098 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-19Windows support. Tested and working to compile on freebsd and linux. Next ↵w00t
step is to make sure it actually works in windows too. ;p. Add Burlex to contributors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7043 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-03Fix broken modules (broken due to api change)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Document dns caching, add a "bool cached" to OnLookupComplete method in ↵brain
Resolver, and and add " -- cached" to end of 'looking up your host' string if their result is a cached result git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6254 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07DNS caching stuff (almost done)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6252 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07DNS Stuff - this wont work right yet, it will soon (tm)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Fix m_testcommand which tries to use an undefined pointer as ServerInstancebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6248 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-07Add TTL stuff to dns system (pass it to inherited objects)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6247 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Remove global namespacing, makes modules compile FASTAH. Also massive update ↵w00t
on headers (change to InspIRCd Development Team, extend copyright to 2007). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5995 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add fix for patch #166 (this is a reasonably big one)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-19Insert massive change here.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5504 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-08Update commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5458 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-06Document a ton of classes (e.g. give them a short description for ↵brain
http://svn.inspircd.org/docs/annotated.html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01Now with binary versioning goodnessbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-06All commands now return results CMD_FAILURE or CMD_SUCCESSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5150 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-02And this (i guess it once tested mode stuff)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5108 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Just to mess with om's head, remove helperfuncs.h from everywherebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4900 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11Change to using Instance->Log (InspIRCd::Log) rather than log() macrobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4880 e03df62e-2008-0410-955e-edbf42e46eb7
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