- MyV6Resolver(const std::string &source, bool forward) : Resolver(ServerInstance, source, forward ? DNS_QUERY_AAAA : DNS_QUERY_PTR6)
- {
- fw = forward;
- }
-
- virtual void OnLookupComplete(const std::string &result)
- {
- ServerInstance->Log(DEBUG,"*** RESOLVER COMPLETED %s LOOKUP, IP IS: '%s'",fw ? "FORWARD" : "REVERSE", result.c_str());
- }
-
- virtual void OnError(ResolverError e, const std::string &errormessage)
- {
- ServerInstance->Log(DEBUG,"*** RESOLVER GOT ERROR: %d: %s",e,errormessage.c_str());
- }
-};
-
-/** Handle /WOOT
- */
-class cmd_woot : public command_t
-{
- public:
- cmd_woot (InspIRCd* Instance) : command_t(Instance,"WOOT", 0, 0)
+ /* Command 'dalinfo', takes no parameters and needs no special modes */
+ cmd_dalinfo (InspIRCd* Instance) : Command(Instance,"DALINFO", 0, 0)