diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-03 18:34:16 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 00:17:13 +0000 |
commit | 7531e90499d4cd60b6464c692725225e85c00738 (patch) | |
tree | 930fd946ea495b74c4071a67e12cadb700ab79ab /modules/commands/os_info.cpp | |
parent | dfcc025a19d7d49179d75f34553c36e0d47eaded (diff) |
Use C++11 style class/struct initialisation.
Diffstat (limited to 'modules/commands/os_info.cpp')
-rw-r--r-- | modules/commands/os_info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp index 1a05b71d9..652d51593 100644 --- a/modules/commands/os_info.cpp +++ b/modules/commands/os_info.cpp @@ -13,9 +13,9 @@ struct OperInfo : Serializable Anope::string target; Anope::string info; Anope::string adder; - time_t created; + time_t created = 0; - OperInfo() : Serializable("OperInfo"), created(0) { } + OperInfo() : Serializable("OperInfo") { } OperInfo(const Anope::string &t, const Anope::string &i, const Anope::string &a, time_t c) : Serializable("OperInfo"), target(t), info(i), adder(a), created(c) { } |