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

Comparing ermyth/src/channels.C (file contents):
Revision 1.5 by pippijn, Thu Aug 30 06:57:25 2007 UTC vs.
Revision 1.6 by pippijn, Thu Aug 30 19:56:24 2007 UTC

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 * Copyright © 2005-2007 Atheme Project (http://www.atheme.org) 5 * Copyright © 2005-2007 Atheme Project (http://www.atheme.org)
6 */ 6 */
7 7
8static char const rcsid[] = "$Id: channels.C,v 1.5 2007/08/30 06:57:25 pippijn Exp $"; 8static char const rcsid[] = "$Id: channels.C,v 1.6 2007/08/30 19:56:24 pippijn Exp $";
9 9
10#include "atheme.h" 10#include "atheme.h"
11#include <account/mychan.h> 11#include <account/mychan.h>
12 12
13channel_map chanlist; 13channel_map chanlist;
92 92
93 c->bans.head = NULL; 93 c->bans.head = NULL;
94 c->bans.tail = NULL; 94 c->bans.tail = NULL;
95 c->bans.count = 0; 95 c->bans.count = 0;
96 96
97 if ((mc = mychan_find (c->name))) 97 if ((mc = mychan_t::find (c->name)))
98 mc->chan = c; 98 mc->chan = c;
99 99
100 chanlist[c->name] = c; 100 chanlist[c->name] = c;
101 101
102 cnt.chan++; 102 cnt.chan++;
158 158
159 c->callback.remove (c); 159 c->callback.remove (c);
160 160
161 chanlist.erase (c->name); 161 chanlist.erase (c->name);
162 162
163 if ((mc = mychan_find (c->name))) 163 if ((mc = mychan_t::find (c->name)))
164 mc->chan = NULL; 164 mc->chan = NULL;
165 165
166 clear_simple_modes (c); 166 clear_simple_modes (c);
167 chanban_clear (c); 167 chanban_clear (c);
168 168

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines