]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
ModResult is a class now.
authorSadie Powell <sadie@witchery.services>
Fri, 22 May 2020 16:20:34 +0000 (17:20 +0100)
committerSadie Powell <sadie@witchery.services>
Fri, 22 May 2020 16:20:34 +0000 (17:20 +0100)
include/modules.h
include/typedefs.h

index 380775305587047122c92e42fa9f8c713d1d00df..a5e4440dcf256a9f3c512a0f0784fdc1ea2f8438 100644 (file)
@@ -123,9 +123,7 @@ class ModResult
                if (result == 0)
                        return res;
 
-               // Otherwise,
-
-               // they are different, and neither is passthru
+               // Otherwise, they are different, and neither is MOD_RES_PASSTHRU.
                return MOD_RES_ALLOW;
        }
 };
index 8dc5b4c543264de9b8a77a82fe3868208938bc6b..8a7b591590b6a3949ef657b01e124eb16e603b27 100644 (file)
@@ -50,7 +50,7 @@ class XLine;
 class XLineManager;
 class XLineFactory;
 struct ConnectClass;
-struct ModResult;
+class ModResult;
 
 namespace ClientProtocol
 {