1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Settings for nicks in nickserv.c
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">
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
19 <I>Mon May
21 17:
30:
05 PDT
2001</I>
21 <LI>Previous message:
<A HREF=
"001902.html">AW: [IRCServices] Services
4.5.16 released
23 <LI>Next message:
<A HREF=
"001901.html">AW: [IRCServices] Settings for nicks in nickserv.c
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>
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
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.
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 ? :
50 if (ni-
>accesscount) {
52 access = smalloc(sizeof(char *) * ni-
>accesscount);
53 ni-
>access = access;
54 for (j =
0; j
< ni-
>accesscount; j++, access++) {
55 SAFE(read_string(access, f));
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 ?
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 ?
66 I hope someone can help me out here; I'm not too far away I
69 Btw. Is there some (extensive) documentation for the
84 <LI>Previous message:
<A HREF=
"001902.html">AW: [IRCServices] Services
4.5.16 released
86 <LI>Next message:
<A HREF=
"001901.html">AW: [IRCServices] Settings for nicks in nickserv.c
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>