ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/ermyth/src/main.C
(Generate patch)

Comparing ermyth/src/main.C (file contents):
Revision 1.5 by pippijn, Tue Aug 28 17:08:12 2007 UTC vs.
Revision 1.6 by pippijn, Tue Aug 28 22:18:31 2007 UTC

1/* 1/*
2 * main.C: Initialisation routine. 2 * main.C: Initialisation routine.
3 * Rights to this code are documented in doc/pod/license.pod. 3 * Rights to this code are documented in doc/pod/license.pod.
4 */ 4 */
5 5
6static char const rcsid[] = "$Id: main.C,v 1.5 2007/08/28 17:08:12 pippijn Exp $"; 6static char const rcsid[] = "$Id: main.C,v 1.6 2007/08/28 22:18:31 pippijn Exp $";
7 7
8#include "atheme.h" 8#include "atheme.h"
9#include <ermyth/database.h> 9#include <ermyth/database.h>
10#include <ermyth/module.h> 10#include <ermyth/module.h>
11#include <account/kline.h> 11#include <account/kline.h>
335 slog (LG_INFO, "main(): shutting down"); 335 slog (LG_INFO, "main(): shutting down");
336 336
337 /* free used memory */ 337 /* free used memory */
338 shstr::cleanup (); 338 shstr::cleanup ();
339 modules::cleanup (); 339 modules::cleanup ();
340 myuser_t::cleanup (); // XXX: this currently breaks and I don't know why
341 mynick_cleanup ();
340 mychan_cleanup (); 342 mychan_cleanup ();
341 mynick_cleanup ();
342 myuser_cleanup ();
343 delete phandler; 343 delete phandler;
344 344
345 log_shutdown (); 345 log_shutdown ();
346 346
347 return 0; 347 return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines