diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2012-10-21 18:29:10 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2012-10-21 18:29:10 +0200 |
commit | d5b2f9cfa78ed176ffe1d9f2923799fdd37217a5 (patch) | |
tree | 7ecc83981ccbe416438d73a52fdee23b91f4484f /src/nickalias.cpp | |
parent | 727c3d5b7513a909038553a227552a33dc52d885 (diff) |
Base has to destruct before Extensible does because objects that destruct due to Extensible destructing don't have their references to the already destroyed object for Base invalidated. (fixed for NickAlias and NickCore)
Diffstat (limited to 'src/nickalias.cpp')
-rw-r--r-- | src/nickalias.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp index 3137a827a..801a79d05 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -29,7 +29,7 @@ static nickservheld_map NickServHelds; * @param nick The nick * @param nickcore The nickcore for this nick */ -NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Flags<NickNameFlag, NS_END>(NickNameFlagStrings), Serializable("NickAlias") +NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Serializable("NickAlias"), Flags<NickNameFlag, NS_END>(NickNameFlagStrings) { if (nickname.empty()) throw CoreException("Empty nick passed to NickAlias constructor"); |