summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-05-22 17:20:34 +0100
committerSadie Powell <sadie@witchery.services>2020-05-22 17:20:34 +0100
commit1cb1430c70f224c8be0b1184ee4da1b23e83d0f4 (patch)
tree9f15e37cda1741df999be84fea50b3e1d27fe86f /include
parent3c9d53eadd3fef84d7f6d0b59120ad8e43a79a04 (diff)
ModResult is a class now.
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
-rw-r--r--include/typedefs.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/include/modules.h b/include/modules.h
index 380775305..a5e4440dc 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -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;
}
};
diff --git a/include/typedefs.h b/include/typedefs.h
index 8dc5b4c54..8a7b59159 100644
--- a/include/typedefs.h
+++ b/include/typedefs.h
@@ -50,7 +50,7 @@ class XLine;
class XLineManager;
class XLineFactory;
struct ConnectClass;
-struct ModResult;
+class ModResult;
namespace ClientProtocol
{