summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commitc037e6a6e9f71f7209cda0342dcb0e9c332b6804 (patch)
treec9a61e1b0ce56369690949a751cdfc0b56ab9c9f /src/main.c
parent253d5824c400ae77e728f7e4a1b3cede80414545 (diff)
Move delete_user() into a destructor. Fix a few minor bugs with conversion also.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1194 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 320438054..27f614bb6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -300,7 +300,7 @@ static void services_shutdown(void)
u = firstuser();
while (u) {
next = nextuser();
- delete_user(u);
+ delete u;
u = next;
}
}