X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fiohook.h;h=1985ea891247e789c8c90d3b5d416a4755a4afd6;hb=b4a174ee9c32d62ea6bf010e837e8c5b1c3d36a3;hp=9ca17d77e46bdcdf6aef38e081abc0f9cd7adf29;hpb=77730fd5f09f8fc193205654c8bba84d34365670;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/iohook.h b/include/iohook.h index 9ca17d77e..1985ea891 100644 --- a/include/iohook.h +++ b/include/iohook.h @@ -1,7 +1,8 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2013 Attila Molnar + * Copyright (C) 2019 Robby + * Copyright (C) 2013, 2016-2017 Attila Molnar * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -23,7 +24,7 @@ class StreamSocket; class IOHookProvider : public refcountbase, public ServiceProvider { - const bool middlehook; + const bool middlehook; public: enum Type @@ -49,7 +50,7 @@ class IOHookProvider : public refcountbase, public ServiceProvider */ bool IsMiddle() const { return middlehook; } - /** Called when the provider should hook an incoming connection and act as being on the server side of the connection. + /** Called when the provider should hook an incoming connection and act as being on the server-side of the connection. * This occurs when a bind block has a hook configured and the listener accepts a connection. * @param sock Socket to hook * @param client Client IP address and port