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

Comparing ermyth/src/function.C (file contents):
Revision 1.5 by pippijn, Thu Aug 30 19:56:25 2007 UTC vs.
Revision 1.6 by pippijn, Wed Sep 5 11:23:15 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: function.C,v 1.5 2007/08/30 19:56:25 pippijn Exp $"; 8static char const rcsid[] = "$Id: function.C,v 1.6 2007/09/05 11:23:15 pippijn Exp $";
9 9
10#include "atheme.h" 10#include "atheme.h"
11#include <ermyth/crypto.h> 11#include <ermyth/crypto.h>
12#include <account/mychan.h> 12#include <account/mychan.h>
13#include <account/chanacs.h> 13#include <account/chanacs.h>
302 } 302 }
303 303
304 if (type == EMAIL_SETEMAIL) 304 if (type == EMAIL_SETEMAIL)
305 { 305 {
306 /* special case for e-mail change */ 306 /* special case for e-mail change */
307 metadata::item *md = mu->find_metadata ("private:verify:emailchg:newemail"); 307 metadata *md = mu->find_metadata ("private:verify:emailchg:newemail");
308 308
309 if (md && md->value) 309 if (md && md->value)
310 email = md->value; 310 email = md->value;
311 else /* should NEVER happen */ 311 else /* should NEVER happen */
312 { 312 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines