summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-23 19:07:40 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-23 19:07:40 +0000
commit38e125bdb8422343a86017479d00b462bf36e784 (patch)
treeb016af970c84de61a071ad1ec4fd98a53165b570 /include/inspircd.h
parentefc75198ded220f6af88914252c3361f6a5664d9 (diff)
Change to <type:vhost> and <oper:vhost> because <oper:host> is taken.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11957 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 9156d3444..292fbd488 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -256,16 +256,17 @@ class BanCacheManager;
class CoreExport ConfigReaderThread : public Thread
{
ServerConfig* Config;
- bool done;
+ volatile bool done;
public:
- std::string TheUserUID;
+ const std::string TheUserUID;
ConfigReaderThread(const std::string &useruid)
- : Thread(), done(false), TheUserUID(useruid)
+ : Config(new ServerConfig), done(false), TheUserUID(useruid)
{
}
virtual ~ConfigReaderThread()
{
+ delete Config;
}
void Run();