summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-03 18:34:16 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 00:17:13 +0000
commit7531e90499d4cd60b6464c692725225e85c00738 (patch)
tree930fd946ea495b74c4071a67e12cadb700ab79ab /include/modes.h
parentdfcc025a19d7d49179d75f34553c36e0d47eaded (diff)
Use C++11 style class/struct initialisation.
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modes.h b/include/modes.h
index cbde11429..3b4b0c1bb 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -394,8 +394,8 @@ class CoreExport Entry
Anope::string name;
Anope::string mask;
public:
- unsigned short cidr_len;
- int family;
+ unsigned short cidr_len = 0;
+ int family = 0;
Anope::string nick, user, host, real;
/** Constructor