From 5068483cb917ba1c8ed3a0d20f7bfcb996f0aa3e Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 27 Apr 2012 15:38:50 -0400 Subject: Add db_sql:prefix allow prefixing all anope tables similarly, and changed db_sql to update the databases incrementally instead of one big flush --- src/nickalias.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit