- void stats_e(User* user, string_list &results);
-
- /** Change creation time of a GLine
- * @param host The hostname to change
- * @param create_Time The new creation time
- */
- void gline_set_creation_time(const char* host, time_t create_time);
-
- /** Change creation time of a QLine
- * @param nick The nickmask to change
- * @param create_Time The new creation time
- */
- void qline_set_creation_time(const char* nick, time_t create_time);
-
- /** Change creation time of a ZLine
- * @param ip The ipmask to change
- * @param create_Time The new creation time
- */
- void zline_set_creation_time(const char* ip, time_t create_time);
-
- /** Change creation time of a ELine
- * @param host The hostname to change
- * @param create_Time The new creation time
- */
- void eline_set_creation_time(const char* host, time_t create_time);
-};
-
-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') { }
-
- 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 KLine(ServerInstance, set_time, duration, source, reason, ih.first.c_str(), ih.second.c_str());
- }
-};
-
-class CoreExport QLineFactory : public XLineFactory
-{
- public:
- QLineFactory(InspIRCd* Instance) : XLineFactory(Instance, 'Q') { }
-
- XLine* Generate(time_t set_time, long duration, const char* source, const char* reason, const char* xline_specific_mask)
- {
- return new QLine(ServerInstance, set_time, duration, source, reason, xline_specific_mask);
- }
-};
-
-class CoreExport ZLineFactory : public XLineFactory
-{
- public:
- ZLineFactory(InspIRCd* Instance) : XLineFactory(Instance, 'Z') { }
-
- XLine* Generate(time_t set_time, long duration, const char* source, const char* reason, const char* xline_specific_mask)
- {
- return new ZLine(ServerInstance, set_time, duration, source, reason, xline_specific_mask);
- }