summaryrefslogtreecommitdiff
path: root/include/anope.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/anope.h
parentdfcc025a19d7d49179d75f34553c36e0d47eaded (diff)
Use C++11 style class/struct initialisation.
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/anope.h b/include/anope.h
index d998ce1a9..96967bfb8 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -559,7 +559,7 @@ class CoreExport sepstream
char sep;
/** Current string position
*/
- size_t pos;
+ size_t pos = 0;
/** If set then GetToken() can return an empty string
*/
bool allow_empty;