]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/iohook.h
Fix a bunch of weird indentation and spacing issues.
[user/henk/code/inspircd.git] / include / iohook.h
index 9ca17d77e46bdcdf6aef38e081abc0f9cd7adf29..1985ea891247e789c8c90d3b5d416a4755a4afd6 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2013 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2019 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2013, 2016-2017 Attila Molnar <attilamolnar@hush.com>
  *
  * 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