summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-25 14:08:50 -0400
committerAdam <Adam@anope.org>2013-05-25 14:08:50 -0400
commitd6640ed5eea6e82d19ebd08800edc5f90404239a (patch)
treeeab4ce62a96998f2879b5f3cf2b98e4639d09b4f /include/config.h
parentaabc217a6b002b8103aefcfc96a823923102cb61 (diff)
Give an error message when the configuration file ends with an unterminated block
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 82edecca6..bd76ca8a5 100644
--- a/include/config.h
+++ b/include/config.h
@@ -33,6 +33,7 @@ namespace Configuration
Anope::string name;
item_map items;
block_map blocks;
+ int linenum;
public:
Block(const Anope::string &);