diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-25 17:36:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-25 17:36:13 +0000 |
commit | 529f16e84b4ba1328a13be32e40a71156c4725f8 (patch) | |
tree | 0300f14ecebfe13389a5fe4418e051191dff9f26 /src/inspircd.cpp | |
parent | 89bc1282b9e1e2bf9eccacae8f1dc2b5f9ade9b7 (diff) |
Shorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining functor classes that just implement Call()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7569 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index dea2f0a58..449bb005b 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -396,8 +396,10 @@ InspIRCd::InspIRCd(int argc, char** argv) GlobalCulls(this), HandleIsNick(this), HandleIsIdent(this), + HandleFindDescriptor(this), IsNick(&HandleIsNick), - IsIdent(&HandleIsIdent) + IsIdent(&HandleIsIdent), + FindDescriptor(&HandleFindDescriptor) { int found_ports = 0; FailedPortList pl; |