diff options
Diffstat (limited to 'src/modules/m_cgiirc.cpp')
-rw-r--r-- | src/modules/m_cgiirc.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index d70bd9561..9d4344629 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -23,16 +23,15 @@ #include <arpa/inet.h> #include "users.h" #include "modules.h" - #include "dns.h" #include "inspircd.h" /* $ModDesc: Change user's hosts connecting from known CGI:IRC hosts */ - - enum CGItype { PASS, IDENT, PASSFIRST, IDENTFIRST }; +/** Holds a CGI site's details + */ class CGIhost : public classbase { public: @@ -47,6 +46,8 @@ public: typedef std::vector<CGIhost> CGIHostlist; +/** Resolver for CGI:IRC hostnames encoded in ident/GECOS + */ class CGIResolver : public Resolver { std::string typ; |