This should fix the empty iterator crash with gcc3.3 - thanks yet again to peaveydk for spending hours finding the issue and for the patch

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5662 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
special 2006-11-08 04:02:05 +00:00
parent 2d5089f291
commit bc6df4be67

View File

@ -75,7 +75,7 @@ typedef std::map<irc::string,char*> opertype_t;
/** A Set of oper classes
*/
typedef opertype_t operclass_t;
typedef std::map<irc::string,char*> operclass_t;
/** This class holds the bulk of the runtime configuration for the ircd.
@ -115,11 +115,20 @@ class ServerConfig : public Extensible
InspIRCd* GetInstance();
/** All oper class definitions from the config file
*/
operclass_t operclass;
/** This holds all the information in the config file,
* it's indexed by tag name to a vector of key/values.
*/
ConfigDataHash config_data;
/* All oper type definitions from the config file
*/
opertype_t opertypes;
/** Holds the server name of the local server
* as defined by the administrator.
*/
@ -392,14 +401,6 @@ class ServerConfig : public Extensible
*/
bool CycleHosts;
/* All oper type definitions from the config file
*/
opertype_t opertypes;
/** All oper class definitions from the config file
*/
operclass_t operclass;
/** Construct a new ServerConfig
*/
ServerConfig(InspIRCd* Instance);