]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/cull_list.cpp
Move user quit logic out of cull list
[user/henk/code/inspircd.git] / src / cull_list.cpp
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
6  * See: http://wiki.inspircd.org/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 /* $Core */
15
16 #include "inspircd.h"
17 #include "cull_list.h"
18
19 void CullList::Apply()
20 {
21         for(std::vector<classbase*>::iterator i = list.begin(); i != list.end(); i++)
22                 delete *i;
23         list.clear();
24 }
25