1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices Coding] OperServ UPDATE suggestion
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20OperServ%20UPDATE%20suggestion&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=
"001820.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices Coding] OperServ UPDATE suggestion
</H1>
16 <A HREF=
"mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20OperServ%20UPDATE%20suggestion&In-Reply-To="
17 TITLE=
"[IRCServices Coding] OperServ UPDATE suggestion">brain at brainbox.winbot.co.uk
19 <I>Tue Dec
31 12:
13:
58 PST
2002</I>
21 <LI>Previous message:
<A HREF=
"001820.html">[IRCServices Coding] mailing list issues
24 <LI> <B>Messages sorted by:
</B>
25 <a href=
"date.html#1822">[ date ]
</a>
26 <a href=
"thread.html#1822">[ thread ]
</a>
27 <a href=
"subject.html#1822">[ subject ]
</a>
28 <a href=
"author.html#1822">[ author ]
</a>
33 <PRE>I think sync_operserv_db calls into the db module to cause some form of
"save all
" effect. Either that, or there are commands you tried and you forgot to include chanserv.h and nickserv.h etc? Im not sure, my services hacking skills are going rusty *pokes andy or another coder for proper answer*
35 ><i>I think it would be better when using OperServ UPDATE would update *all* databases. Correct me if I'm wrong, but it looks like it only updates the OperServ DB:
37 </I>><i>modules/operserv/main.c:
40 </I>><i>/* Callback for saving data. */
42 </I>><i>static int do_save_data(void)
44 </I>><i> sync_operserv_db(OperDBName);
49 </I>><i>I tried to add this (with the appropriate static char's):
52 </I>><i>/* Callback for saving data. */
54 </I>><i>static int do_save_data(void)
56 </I>><i> sync_channel_db(ChanDBName);
57 </I>><i> sync_operserv_db(OperDBName);
58 </I>><i> sync_statserv_db(StatDBName);
63 </I>><i>and I couldn't get it to work.
69 </I>><i>/Patrick Fish
73 </I>><i>Outgoing mail is certified Virus Free.
74 </I>><i>Checked by AVG anti-virus system (
<A HREF=
"http://www.grisoft.com">http://www.grisoft.com
</A>).
75 </I>><i>Version:
6.0.427 / Virus Database:
240 - Release Date:
12/
6/
2002
85 <LI>Previous message:
<A HREF=
"001820.html">[IRCServices Coding] mailing list issues
88 <LI> <B>Messages sorted by:
</B>
89 <a href=
"date.html#1822">[ date ]
</a>
90 <a href=
"thread.html#1822">[ thread ]
</a>
91 <a href=
"subject.html#1822">[ subject ]
</a>
92 <a href=
"author.html#1822">[ author ]
</a>