]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001900.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001900.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Settings for nicks in nickserv.c
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Settings%20for%20nicks%20in%20nickserv.c&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001902.html">
11 <LINK REL="Next" HREF="001901.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Settings for nicks in nickserv.c</H1>
15 <B>Johan Yves August Grasmo</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Settings%20for%20nicks%20in%20nickserv.c&In-Reply-To="
17 TITLE="[IRCServices] Settings for nicks in nickserv.c">johanyg at ifi.uio.no
18 </A><BR>
19 <I>Mon May 21 17:30:05 PDT 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001902.html">AW: [IRCServices] Services 4.5.16 released
22 </A></li>
23 <LI>Next message: <A HREF="001901.html">AW: [IRCServices] Settings for nicks in nickserv.c
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1900">[ date ]</a>
27 <a href="thread.html#1900">[ thread ]</a>
28 <a href="subject.html#1900">[ subject ]</a>
29 <a href="author.html#1900">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>Good evening,
35
36 I've almost succeeded (I think), in implementing
37 mysql-support in the services. The only things it does now
38 is importing nick-info and channel-info from a
39 mysql-database (where the information is registered over
40 web).
41 However I seem to have a few problems when setting
42 channel-permissions for the imported nicks. I think this is
43 because I don't set the correct values for each nick.
44
45 I've set the flags correctly for each nick/channel, but when
46 I set the accesslevel for a nick to -2 (nojoin), the nick is
47 still able to join the channel. Has this something to do
48 with the following code ? :
49 [snip]
50 if (ni-&gt;accesscount) {
51 char **access;
52 access = smalloc(sizeof(char *) * ni-&gt;accesscount);
53 ni-&gt;access = access;
54 for (j = 0; j &lt; ni-&gt;accesscount; j++, access++) {
55 SAFE(read_string(access, f));
56 }
57 }
58 [/snip]
59 I think this routine sets the mask or something to the nick,
60 or am I barking up the wrong tree with this one ?
61
62 I cannot set the usermask to the user since all nicks are
63 read from the db (it doesn't save yet), or has this nothing
64 to do with my problems ?
65
66 I hope someone can help me out here; I'm not too far away I
67 think.
68
69 Btw. Is there some (extensive) documentation for the
70 services anywhere ?
71
72
73 Sincerely,
74 Johan Grasmo
75
76
77
78 </PRE>
79
80 <!--endarticle-->
81 <HR>
82 <P><UL>
83 <!--threads-->
84 <LI>Previous message: <A HREF="001902.html">AW: [IRCServices] Services 4.5.16 released
85 </A></li>
86 <LI>Next message: <A HREF="001901.html">AW: [IRCServices] Settings for nicks in nickserv.c
87 </A></li>
88 <LI> <B>Messages sorted by:</B>
89 <a href="date.html#1900">[ date ]</a>
90 <a href="thread.html#1900">[ thread ]</a>
91 <a href="subject.html#1900">[ subject ]</a>
92 <a href="author.html#1900">[ author ]</a>
93 </LI>
94 </UL>
95
96 </body></html>