… | |
… | |
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-2006 Atheme Development Group |
10 | * Copyright © 2005-2006 Atheme Development Group |
11 | */ |
11 | */ |
12 | |
12 | |
13 | static char const rcsid[] = "$Id: ctcp-common.C,v 1.6 2007/09/16 18:54:44 pippijn Exp $"; |
13 | static char const rcsid[] = "$Id: ctcp-common.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 "users.h" |
18 | #include "users.h" |
19 | #include "datastream.h" |
19 | #include "datastream.h" |
20 | #include "privs.h" |
20 | #include "privs.h" |
21 | |
21 | |
22 | #include <common/util.h> |
22 | #include <util/predicates.h> |
23 | |
23 | |
24 | typedef std::map<char const *, void (*) (char *, char *, char *, char *), str_lt> ctcp_map; |
24 | typedef std::map<char const *, void (*) (char *, char *, char *, char *), str_lt> ctcp_map; |
25 | ctcp_map handlers; |
25 | ctcp_map handlers; |
26 | |
26 | |
27 | static void |
27 | static void |