… | |
… | |
8 | * Portions of this file were derived from sources bearing the following license: |
8 | * Portions of this file were derived from sources bearing the following license: |
9 | * Rights to this code are documented in doc/pod/license.pod. |
9 | * Rights to this code are documented in doc/pod/license.pod. |
10 | * Copyright © 2005-2007 Atheme Project (http://www.atheme.org) |
10 | * Copyright © 2005-2007 Atheme Project (http://www.atheme.org) |
11 | */ |
11 | */ |
12 | |
12 | |
13 | static char const rcsid[] = "$Id: pmodule.C,v 1.6 2007/09/16 18:54:45 pippijn Exp $"; |
13 | static char const rcsid[] = "$Id: pmodule.C,v 1.7 2007/09/22 14:27:30 pippijn Exp $"; |
14 | |
14 | |
15 | #include <map> |
15 | #include <map> |
16 | |
16 | |
17 | #include "atheme.h" |
17 | #include "atheme.h" |
18 | #include "pmodule.h" |
18 | #include "pmodule.h" |
|
|
19 | #include <util/predicates.h> |
19 | |
20 | |
20 | typedef std::map<char const * const, pcommand_t const *, str_lt> pcommand_map; |
21 | typedef std::map<char const * const, pcommand_t const *, str_lt> pcommand_map; |
21 | pcommand_map pcommands; |
22 | pcommand_map pcommands; |
22 | |
23 | |
23 | cmode_t *mode_list; |
24 | cmode_t *mode_list; |