diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helperfuncs.cpp | 2 | ||||
-rw-r--r-- | src/inspircd.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 8e6627d1f..b5b2a095b 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -418,7 +418,7 @@ bool IsNickHandler::Call(const char* n) } /* return true for good ident, false else */ -bool InspIRCd::IsIdent(const char* n) +bool IsIdentHandler::Call(const char* n) { if (!n || !*n) return false; diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 09f1e8685..dea2f0a58 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -394,7 +394,10 @@ void InspIRCd::WritePID(const std::string &filename) InspIRCd::InspIRCd(int argc, char** argv) : ModCount(0), GlobalCulls(this), - HandleIsNick(this), IsNick(&HandleIsNick) + HandleIsNick(this), + HandleIsIdent(this), + IsNick(&HandleIsNick), + IsIdent(&HandleIsIdent) { int found_ports = 0; FailedPortList pl; |