summaryrefslogtreecommitdiff
path: root/src/account.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/account.cc')
-rw-r--r--src/account.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/account.cc b/src/account.cc
index 29c05719..d772368c 100644
--- a/src/account.cc
+++ b/src/account.cc
@@ -93,7 +93,9 @@ account_t * account_t::find_account(const string& acct_name,
std::pair<accounts_map::iterator, bool> result =
#endif
accounts.insert(accounts_map::value_type(first, account));
+#if defined(DEBUG_ON)
assert(result.second);
+#endif
} else {
account = (*i).second;
}