/** Hostmask (ident@host) to match against
* May contain wildcards.
*/
+ char identmask[20];
char hostmask[200];
};
/** Hostmask (ident@host) to match against
* May contain wildcards.
*/
+ char identmask[20];
char hostmask[200];
};
/** Hostmask (ident@host) to match against
* May contain wildcards.
*/
+ char identmask[20];
char hostmask[200];
};
bool DoKLine(ServerConfig* conf, const char* tag, char** entries, void** values, int* types);
bool DoELine(ServerConfig* conf, const char* tag, char** entries, void** values, int* types);
+typedef std::pair<std::string, std::string> IdentHostPair;
+
/** XLineManager is a class used to manage glines, klines, elines, zlines and qlines.
*/
class XLineManager
*/
XLineManager(InspIRCd* Instance);
+ IdentHostPair IdentSplit(const std::string &ident_and_host);
+
/** Add a new GLine
* @param duration The duration of the line
* @param source The source of the line