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

Comparing cvsroot/ermyth/src/servtree.C (file contents):
Revision 1.6 by pippijn, Tue Sep 4 11:13:26 2007 UTC vs.
Revision 1.7 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 * Services binary tree manipulation. (add_service, del_service, et al.) 5 * Services binary tree manipulation. (add_service, del_service, et al.)
6 */ 6 */
7 7
8static char const rcsid[] = "$Id: servtree.C,v 1.6 2007/09/04 11:13:26 pippijn Exp $"; 8static char const rcsid[] = "$Id: servtree.C,v 1.7 2007/09/05 11:23:15 pippijn Exp $";
9 9
10#include "atheme.h" 10#include "atheme.h"
11#include <boost/foreach.hpp> 11#include <boost/foreach.hpp>
12 12
13service_map services; 13service_map services;
71 71
72 sptr->handler = handler; 72 sptr->handler = handler;
73 sptr->notice_handler = dummy_handler; 73 sptr->notice_handler = dummy_handler;
74 74
75 sptr->cmdtree = &cmdtree; 75 sptr->cmdtree = &cmdtree;
76 sptr->chanmsg = false;
76 77
77 if (me.connected) 78 if (me.connected)
78 { 79 {
79 u = user_find_named (name); 80 u = user_find_named (name);
80 if (u != NULL) 81 if (u != NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines