… | |
… | |
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: channels.C,v 1.8 2007/09/16 18:54:44 pippijn Exp $"; |
13 | static char const rcsid[] = "$Id: channels.C,v 1.9 2007/09/22 14:27:30 pippijn Exp $"; |
14 | |
14 | |
15 | #include "atheme.h" |
15 | #include "atheme.h" |
16 | #include "servers.h" |
16 | #include "servers.h" |
17 | #include <account/mychan.h> |
17 | #include <account/mychan.h> |
18 | |
18 | |
… | |
… | |
471 | * - nothing |
471 | * - nothing |
472 | * |
472 | * |
473 | * Side Effects: |
473 | * Side Effects: |
474 | * if the user is on the channel: |
474 | * if the user is on the channel: |
475 | * - a channel user object is removed from the |
475 | * - a channel user object is removed from the |
476 | * channel's userlist and the user's channellist. |
476 | * channel's user_t::map and the user's channellist. |
477 | * - channel_part hook is called |
477 | * - channel_part hook is called |
478 | * - if this empties the channel and the channel is not set permanent |
478 | * - if this empties the channel and the channel is not set permanent |
479 | * (ircd->perm_mode), channel_delete() is called (q.v.) |
479 | * (ircd->perm_mode), channel_delete() is called (q.v.) |
480 | */ |
480 | */ |
481 | void |
481 | void |