- /** Handle /STATS for a given type.
- * @param numeric The numeric to give to each result line
- * @param user The username making the query
- * @param results The string_list to receive the results
- */
- void InvokeStats(const char type, int numeric, User* user, string_list &results);
-};
-
-class CoreExport GLineFactory : public XLineFactory
-{
- public:
- GLineFactory(InspIRCd* Instance) : XLineFactory(Instance, 'G') { }
-
- XLine* Generate(time_t set_time, long duration, const char* source, const char* reason, const char* xline_specific_mask)
- {
- IdentHostPair ih = ServerInstance->XLines->IdentSplit(xline_specific_mask);
- return new GLine(ServerInstance, set_time, duration, source, reason, ih.first.c_str(), ih.second.c_str());
- }
-};
-
-class CoreExport ELineFactory : public XLineFactory
-{
- public:
- ELineFactory(InspIRCd* Instance) : XLineFactory(Instance, 'E') { }
-
- XLine* Generate(time_t set_time, long duration, const char* source, const char* reason, const char* xline_specific_mask)
- {
- IdentHostPair ih = ServerInstance->XLines->IdentSplit(xline_specific_mask);
- return new ELine(ServerInstance, set_time, duration, source, reason, ih.first.c_str(), ih.second.c_str());
- }
-};
-
-class CoreExport KLineFactory : public XLineFactory
-{
- public:
- KLineFactory(InspIRCd* Instance) : XLineFactory(Instance, 'K') { }