diff options
author | Adam <Adam@anope.org> | 2012-04-27 15:38:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-27 15:38:50 -0400 |
commit | 5068483cb917ba1c8ed3a0d20f7bfcb996f0aa3e (patch) | |
tree | cf2bf4096b72f68b595a3bbe9d0e75d34ad2641d /src/nickalias.cpp | |
parent | 83ee20fc2910e9ea0cac250e767d20f17576d98a (diff) |
Add db_sql:prefix allow prefixing all anope tables similarly, and changed db_sql to update the databases incrementally instead of one big flush
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 bdd010e23..e9c8cce08 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -69,7 +69,7 @@ NickAlias::~NickAlias() this->nc->aliases.erase(it); if (this->nc->aliases.empty()) { - delete this->nc; + this->nc->destroy(); this->nc = NULL; } else |